compareLevels behaves like [cmp.Compare] for [LoggingLevel]s.
(l1, l2 LoggingLevel)
| 63 | |
| 64 | // compareLevels behaves like [cmp.Compare] for [LoggingLevel]s. |
| 65 | func compareLevels(l1, l2 LoggingLevel) int { |
| 66 | return cmp.Compare(mcpLevelToSlog(l1), mcpLevelToSlog(l2)) |
| 67 | } |
| 68 | |
| 69 | // LoggingHandlerOptions are options for a LoggingHandler. |
| 70 | type LoggingHandlerOptions struct { |
no test coverage detected
searching dependent graphs…