Context
LoggerService supports transports and levels, but production-safe defaults (file/remote transport, flushing, etc.) are not clearly defined. There is a risk of losing logs in non-dev environments or flooding the console.
Goal
Provide a sane default logging configuration for non-dev environments and ensure logs are flushed reliably, especially around shutdown.
Tasks
Acceptance Criteria
Context
LoggerServicesupports transports and levels, but production-safe defaults (file/remote transport, flushing, etc.) are not clearly defined. There is a risk of losing logs in non-dev environments or flooding the console.Goal
Provide a sane default logging configuration for non-dev environments and ensure logs are flushed reliably, especially around shutdown.
Tasks
onResourceStopto:event,playerId,handler,stack) and consider addingtraceId/requestIdsupport.Acceptance Criteria