Skip to content
@archipel/platform-logging Auto-generated

@breadstone/archipel-platform-logging

Classes

ClassDescription
ContextLoggerStructured logger that automatically enriches log entries with the current request context (requestId, userId) from RequestContextStore.
LoggerModuleGlobal logging module that configures the NestJS Logger with an application-wide log level and provides request-scoped context propagation via RequestIdMiddleware.
RequestContextStoreAsyncLocalStorage-based request context store.
RequestIdMiddlewareNestJS middleware that extracts or generates a unique request ID and stores it in the RequestContextStore via AsyncLocalStorage.

Interfaces

InterfaceDescription
IRequestContextShape of the per-request context stored in RequestContextStore.

Variables

VariableDescription
APP_LOG_LEVELApplication log level (e.g. 'debug', 'info', 'warn', 'error').
PLATFORM_LOGGING_CONFIG_ENTRIESAll configuration entries required by platform-logging.
REQUEST_ID_HEADERHeader name used to propagate the request correlation ID.

Released under the MIT License.