JStructuredLogger constructor
Creates a structured logger with the specified configuration.
minLevel: Minimum log level to output (default: debug)serviceName: Name of the service/app for log identificationversion: Version of the service/appdefaultContext: Default context to include in all log messages
Implementation
JStructuredLogger({
this.minLevel = LogLevel.debug,
this.serviceName,
this.version,
Map<String, dynamic>? defaultContext,
}) : defaultContext = defaultContext ?? {};