Represents a logger that can be used to log messages with different log levels.
private
_namespace: string
Logs a debug message with optional tags.
Logs an error message with optional tags.
Logs a fatal error message with optional tags.
Logs an informational message with optional tags.
private
_config: LoggerConfig
private
_inFlightLogs: number
private
_logLimitOverflow: boolean
private
formatter: LogFormatter
private
redactor: LogMessageRedactor
private
serializer: LogMessageSerializer
private
handleInternalError(error: Error,context?: LogContext,): void
init(config?: LoggerConfig): void
Initializes the logger with the provided configuration.
private
outputLogMessage(logMessage: SerializedLogMessage | LogMessage): void