v0.1.4 formatter race fix, fiber adapter added, default config changed, docs updated

This commit is contained in:
2025-11-17 16:33:08 -05:00
parent 4ed618abbb
commit 9b0a632b52
22 changed files with 797 additions and 56 deletions

View File

@ -33,8 +33,8 @@ func main() {
// Create a new logger instance with default configuration
logger := log.NewLogger()
// Apply configuration
err := logger.ApplyConfigString("directory=/var/log/myapp")
// Apply configuration (enable file output since it's disabled by default)
err := logger.ApplyConfigString("directory=/var/log/myapp", "enable_file=true")
if err != nil {
panic(fmt.Errorf("failed to apply logger config: %w", err))
}