test(logger): add internal debug test immediately after Build()
Added Log.Debug() and Log.Info() calls immediately after Build() to test if the logger can output debug logs right after creation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3a247562ea
commit
47dd2d1cb5
|
|
@ -75,6 +75,10 @@ func Init(cfg *Config) error {
|
|||
println("DEBUG: After Build, AtomicLevel:", atomicLevel.String())
|
||||
println("DEBUG: After Build, Log.Level():", Log.Level().String())
|
||||
|
||||
// TEST: Try to log a debug message immediately after Build()
|
||||
Log.Debug("INTERNAL TEST: Debug log immediately after Build()")
|
||||
Log.Info("INTERNAL TEST: Info log immediately after Build()")
|
||||
|
||||
Sugar = Log.Sugar()
|
||||
|
||||
// Replace global zap logger to ensure our config takes effect
|
||||
|
|
|
|||
Loading…
Reference in New Issue