mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-23 15:10:15 +00:00
Logger: Add support for toggling sub logger name output for log events (#407)
* Adds new optional log field. Adds padding to the fields to make it have a consistent output * Line space and correct err message * Removes padding code * Moves `ShowLogSystemName` to advanced settings * Uppers the names. Prevents pointer crash. Adds to config_example.json * Adds test scenario for nil and true ShowLogSystemName * buffer reset
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"maxsize": 250
|
||||
},
|
||||
"advancedSettings": {
|
||||
"showLogSystemName": false,
|
||||
"spacer": " | ",
|
||||
"timeStampFormat": "02/01/2006 15:04:05",
|
||||
"headers": {
|
||||
|
||||
Reference in New Issue
Block a user