"GetLevel returns the current log level" restates the signature — exactly what AX Principle 2 says to delete. Replaced with a concrete usage example showing how a caller would inspect and conditionally adjust the level. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| logger.go | ||
| logger_test.go | ||