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