DocsObservabilityLoggingObservabilityLoggingStructured logging with levels and transports.1 min readDocumentationEdit this pageUsage# typescriptimport { Logger } from '@axiljs/observability' const logger = new Logger({ name: 'UserService' }) logger.info('User created', { userId: 123 }) logger.error('DB error', { error: err.message }) const child = logger.child({ requestId: 'abc' }) child.info('Processing') Development: pretty colors. Production: JSON.PreviousRetry & TimeoutNextMetrics