-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
lumberjackApplies to issues of the Lumberjack project.Applies to issues of the Lumberjack project.
Description
Note: This behavior should be implemented if there is a well-represented need by users of this feature.
Implementing this feature allows using a different payload type or no payload at all in situations where a LumberjackLogger
or LumberjackService
was injected using a specified generic TPayload parameter.
Example of implementation
protected createCriticalLogger<TCustomPayload extends TPayload | void = TPayload>(
message: string
): LumberjackLoggerBuilder<TCustomPayload> {
return this.createLoggerBuilder(LumberjackLevel.Critical, message);
}
Metadata
Metadata
Assignees
Labels
lumberjackApplies to issues of the Lumberjack project.Applies to issues of the Lumberjack project.
Type
Projects
Status
Backlog