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

@ -61,8 +61,8 @@ type Config struct {
var defaultConfig = Config{
// Output settings
EnableConsole: true,
ConsoleTarget: "stdout",
EnableFile: true,
ConsoleTarget: "stderr",
EnableFile: false,
// File settings
Level: LevelInfo,
@ -71,11 +71,11 @@ var defaultConfig = Config{
Extension: "log",
// Formatting
Format: "txt",
Format: "raw",
ShowTimestamp: true,
ShowLevel: true,
TimestampFormat: time.RFC3339Nano,
Sanitization: PolicyTxt,
Sanitization: PolicyRaw,
// Buffer and size limits
BufferSize: 1024,