Page Contents
Home > @loopback/logging > LoggingComponent > (constructor)
LoggingComponent.(constructor)
Constructs a new instance of the LoggingComponent class
Signature:
constructor(loggingConfig: LoggingComponentConfig | undefined);
Parameters
| Parameter | Type | Description |
|---|---|---|
| loggingConfig | [LoggingComponentConfig](/doc/en/lb4/apidocs.logging.loggingcomponentconfig.html) \| undefined |