Optional
config: logs.LoggerProviderConfigthe new LogRecordProcessor to be added.
add your processors in the constructors instead.
Adds a new LogRecordProcessor to this logger.
Notifies all registered LogRecordProcessor to flush any buffered data.
Returns a promise which is resolved when all flushes are complete.
Get a logger with the configuration of the LoggerProvider.
Optional
version: stringOptional
options: LoggerOptionsFlush all buffered data and shut down the LoggerProvider and all registered LogRecordProcessor.
Returns a promise which is resolved when all flushes are complete.
A registry for creating named Loggers.