{
  "level": "info",
  "enableCorrelation": true,
  "sanitize": true,
  "sanitizeFields": [
    "password",
    "token",
    "secret",
    "key",
    "authorization",
    "cookie",
    "apiKey",
    "accessToken",
    "refreshToken",
    "creditCard",
    "ssn",
    "socialSecurityNumber"
  ],
  "context": {
    "service": "my-service",
    "version": "1.0.0",
    "environment": "development",
    "hostname": "localhost",
    "pid": 12345,
    "component": "api-server",
    "region": "us-east-1"
  },
  "console": {
    "enabled": true,
    "level": "debug",
    "formatter": "text",
    "formatterOptions": {
      "prettyPrint": false,
      "space": 2,
      "includeStack": true,
      "colorize": true,
      "dateFormat": "ISO",
      "prefix": "",
      "delimiter": " ",
      "includeTimestamp": true,
      "includeHostname": true
    }
  },
  "file": {
    "enabled": false,
    "filename": "logs/app.log",
    "level": "info",
    "formatter": "json",
    "maxSize": 10485760,
    "maxFiles": 5,
    "createDir": true,
    "formatterOptions": {
      "prettyPrint": true,
      "space": 2,
      "includeStack": true,
      "colorize": false,
      "dateFormat": "ISO",
      "prefix": "",
      "delimiter": " ",
      "includeTimestamp": true,
      "includeHostname": true
    }
  },
  "http": {
    "enabled": false,
    "url": "https://logs.example.com/api/logs",
    "level": "warn",
    "headers": {
      "Content-Type": "application/json",
      "Authorization": "Bearer YOUR_API_KEY"
    },
    "timeout": 30000,
    "batchSize": 100,
    "flushInterval": 5000,
    "retries": 3
  },
  "database": {
    "enabled": false,
    "connectionString": "postgresql://user:password@localhost:5432/logs",
    "tableName": "logs",
    "level": "error",
    "maxPoolSize": 10
  },
  "errorHandling": {
    "enableCallback": false,
    "logFailures": true
  }
}
