An AtomicLevel is an atomically changeable, dynamic logging level. It lets you safely change the log level of a tree of loggers (the root logger and any children created by adding context) at runtime. The AtomicLevel itself is an http.Handler that serves a JSON endpoint to alter its level. AtomicL
| 69 | // AtomicLevels must be created with the NewAtomicLevel constructor to allocate |
| 70 | // their internal atomic pointer. |
| 71 | type AtomicLevel struct { |
| 72 | l *atomic.Int32 |
| 73 | } |
| 74 | |
| 75 | var _ internal.LeveledEnabler = AtomicLevel{} |
| 76 |
nothing calls this directly
no outgoing calls
no test coverage detected