File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -250,8 +250,9 @@ export class CustomLogger<LogObj> extends BaseLogger<LogObj> {
250
250
/**
251
251
* Logs a _CUSTOM_ message.
252
252
* @param args - Multiple log attributes that should be logged.
253
+ * @return LogObject with meta property, when log level is >= minLevel
253
254
*/
254
- public custom(... args : unknown []): LogObj & ILogObjMeta {
255
+ public custom(... args : unknown []): LogObj & ILogObjMeta | undefined {
255
256
return super .log (8 , " CUSTOM" , ... args );
256
257
}
257
258
Original file line number Diff line number Diff line change @@ -250,8 +250,9 @@ export class CustomLogger<LogObj> extends BaseLogger<LogObj> {
250
250
/**
251
251
* Logs a _CUSTOM_ message.
252
252
* @param args - Multiple log attributes that should be logged.
253
+ * @return LogObject with meta property, when log level is >= minLevel
253
254
*/
254
- public custom(... args : unknown []): LogObj & ILogObjMeta {
255
+ public custom(... args : unknown []): LogObj & ILogObjMeta | undefined {
255
256
return super .log (8 , " CUSTOM" , ... args );
256
257
}
257
258
You can’t perform that action at this time.
0 commit comments