You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+79-2Lines changed: 79 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,7 @@ All options available for the configuration are:
108
108
| WithFile | "" | Set file where to log messages, if not set, then logging to file will be disabled. |
109
109
| WithFormat | "json" | Set format for structured logging.<br/><br/>Could be one of the following<br/><ul><li>json</li><li>key-value</li></ul> |
110
110
| WithPretty | false | Set if json message should be pretty printed.<br/>*Option works only with "json" format.*|
111
-
| WithKeyValueDelimiter | ":" | Set key-value delimiter (eg. "key=value", where '=' is the delimiter).<br/>*Option works only with "key-value" format.*|
111
+
| WithKeyValueDelimiter | "=" | Set key-value delimiter (eg. "key=value", where '=' is the delimiter).<br/>*Option works only with "key-value" format.*|
112
112
| WithPairSeparator | " " | Set key-value separator (eg. "key1=value1,key2=value2", where ',' is the separator).<br/>*Option works only with "key-value" format.*|
113
113
| WithName | "root" | Set logger name. |
114
114
| WithTimeFormat | time.RFC3339 | Set time format for logging message. |
@@ -123,10 +123,22 @@ Alternatively you could create application logger. To do this you would need to
0 commit comments