GetLogger returns the global structured logger
()
| 66 | |
| 67 | // GetLogger returns the global structured logger |
| 68 | func GetLogger() *slog.Logger { |
| 69 | if logger == nil { |
| 70 | InitLogger(nil) // Initialize with defaults |
| 71 | } |
| 72 | return logger |
| 73 | } |
| 74 | |
| 75 | // Structured logging functions with context support |
| 76 |
no test coverage detected