-
Notifications
You must be signed in to change notification settings - Fork 7
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
Create a logging policy using sync/atomic load and store value #153
Commits on Apr 11, 2021
-
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 09232ff - Browse repository at this point
Copy the full SHA 09232ffView commit details
Commits on May 31, 2021
-
Add debug and logging libraries
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f0b0167 - Browse repository at this point
Copy the full SHA f0b0167View commit details
Commits on Jun 1, 2021
-
Sync/atomic version of debug log
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2f45ea5 - Browse repository at this point
Copy the full SHA 2f45ea5View commit details -
Remote logging interface from main package
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cdd91d8 - Browse repository at this point
Copy the full SHA cdd91d8View commit details
Commits on Jun 7, 2021
-
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 98664ee - Browse repository at this point
Copy the full SHA 98664eeView commit details -
Make log package more configurable
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 265fb75 - Browse repository at this point
Copy the full SHA 265fb75View commit details -
Update main.go with log and dbg package changes
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 37ecd01 - Browse repository at this point
Copy the full SHA 37ecd01View commit details
Commits on Jun 19, 2021
-
Remove Flag output option for logs
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6bbaba2 - Browse repository at this point
Copy the full SHA 6bbaba2View commit details -
Add documentation to log and dbg packages
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 914cc23 - Browse repository at this point
Copy the full SHA 914cc23View commit details
Commits on Jun 23, 2021
-
instantiate log in run, not main; fmt.print errors and not log
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 94c5a78 - Browse repository at this point
Copy the full SHA 94c5a78View commit details
Commits on Jun 29, 2021
-
rename print{f,ln} methods to log{f,ln}; use interface, not string args
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e7b82d8 - Browse repository at this point
Copy the full SHA e7b82d8View commit details -
Make atomic.Value not a global
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ef29245 - Browse repository at this point
Copy the full SHA ef29245View commit details -
undo using log and return to printing directly to stderr
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 316b47b - Browse repository at this point
Copy the full SHA 316b47bView commit details -
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 001cd5c - Browse repository at this point
Copy the full SHA 001cd5cView commit details -
Undo change to error server stop message
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 38f2a65 - Browse repository at this point
Copy the full SHA 38f2a65View commit details
Commits on Jul 5, 2021
-
Changes per PR: Rename, remove param, change output
- Raname config->logcfg in main.go - Remove log from srvmgmt.go - Use stdOut for errors being logged in main.go Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 644e17e - Browse repository at this point
Copy the full SHA 644e17eView commit details -
Guard dbg methods scope concurrent processes
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 27dce31 - Browse repository at this point
Copy the full SHA 27dce31View commit details
Commits on Jul 10, 2021
-
use dbg object's methods over global's; move var closer to use
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b563c5d - Browse repository at this point
Copy the full SHA b563c5dView commit details -
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 85d5bbe - Browse repository at this point
Copy the full SHA 85d5bbeView commit details -
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9303f1b - Browse repository at this point
Copy the full SHA 9303f1bView commit details
Commits on Jul 20, 2021
-
Use b.RunParallel in benchmark tests
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1007345 - Browse repository at this point
Copy the full SHA 1007345View commit details
Commits on Jul 27, 2021
-
store and load log.Logger in sync/atomic value
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 08aab25 - Browse repository at this point
Copy the full SHA 08aab25View commit details
Commits on Aug 5, 2021
-
Add tests ensuring debug setting works as intended
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 050f097 - Browse repository at this point
Copy the full SHA 050f097View commit details -
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2b92b15 - Browse repository at this point
Copy the full SHA 2b92b15View commit details -
Update main.go to use dbg.SetOut
Signed-off-by: codegold79 <codegold79@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3c42fd6 - Browse repository at this point
Copy the full SHA 3c42fd6View commit details