Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup Logger/Store classes; move them to new namespaces, fix a path-separator bug #831

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

gbirchmeier
Copy link
Member

FileStore/FileLog now convert back/fwd slashes in the configured path to be appropriate for the OS platform. (e.g. convert forward-slashes to backslash on Windows, and vice-versa on not-Windows)

Also do enable-nullable and general cleanup on all the Logger/Store classes.

Interface changes:

  • Move all logger classes to new QuickFix.Logger namespace
  • Move all store classes to new QuickFix.Store namespace
  • FileLog: remove the single-param ctor, no reason for anyone to use it
  • ScreenLog ctor: removed unused sessionId param
  • ScreenLogFactory: remove public vars and a ctor that no one should be using

FileLog/FileStore now converts back/fwd slashes
in configured paths to proper path separators
of the platform OS.

Interface changes:
* FileLog: remove the single-param ctor, no reason for anyone to use it
* ScreenLog ctor: removed unused sessionId param
* ScreenLogFactory: remove public vars and a ctor that no one should be using
also make them use file-scoped namespace
and get rid of the extra indent
also make them use file-scoped namespace
and get rid of the extra indent
@gbirchmeier gbirchmeier force-pushed the nullable-log-and-store branch from 6d75b6c to 9909d22 Compare February 9, 2024 21:29
@gbirchmeier gbirchmeier merged commit 6bf770f into connamara:master Feb 9, 2024
2 checks passed
@gbirchmeier gbirchmeier deleted the nullable-log-and-store branch February 9, 2024 21:41
gbirchmeier added a commit to gbirchmeier/quickfixn that referenced this pull request Feb 23, 2024
* restore ScreenLogFactory three-bool constructor (was removed in connamara#831, but I changed my mind)
* screen log output now replaces NUL with "|"
* new SettingsDictionary::IsBoolPresentAndTrue() function
* added ScreenLog settings to tradeclient config
gbirchmeier added a commit to gbirchmeier/quickfixn that referenced this pull request Feb 23, 2024
* restore ScreenLogFactory three-bool constructor (was removed in connamara#831, but I changed my mind)
* screen log output now replaces NUL with "|"
* new SettingsDictionary::IsBoolPresentAndTrue() function
* added ScreenLog settings to tradeclient config
hlibman-connamara pushed a commit to hlibman-connamara/quickfixn that referenced this pull request Dec 6, 2024
cleanup Logger/Store classes; move them to new namespaces, fix a path-separator bug
hlibman-connamara pushed a commit to hlibman-connamara/quickfixn that referenced this pull request Dec 6, 2024
* restore ScreenLogFactory three-bool constructor (was removed in connamara#831, but I changed my mind)
* screen log output now replaces NUL with "|"
* new SettingsDictionary::IsBoolPresentAndTrue() function
* added ScreenLog settings to tradeclient config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant