WithContext binds the default logger to the provided context and returns the contextualized logger.
(ctx any)
| 119 | // WithContext binds the default logger to the provided context and returns the |
| 120 | // contextualized logger. |
| 121 | func WithContext(ctx any) CommonLogger { |
| 122 | return logger.WithContext(ctx) |
| 123 | } |
| 124 | |
| 125 | // SetLogger sets the default logger and the system logger. |
| 126 | // Note that this method is not concurrent-safe and must not be called |