Fix jsdoc return type
This commit is contained in:
parent
e339e730f4
commit
34a8463bf9
1 changed files with 1 additions and 2 deletions
|
@ -50,9 +50,8 @@ export abstract class BaseLogger {
|
||||||
where the (async) result or errors are not propagated but still logged.
|
where the (async) result or errors are not propagated but still logged.
|
||||||
Useful to pair with LogItem.refDetached.
|
Useful to pair with LogItem.refDetached.
|
||||||
|
|
||||||
@return {LogItem} the log item added, useful to pass to LogItem.refDetached */
|
@return {ILogItem} the log item added, useful to pass to LogItem.refDetached */
|
||||||
runDetached(labelOrValues: LabelOrValues, callback: LogCallback<unknown>, logLevel?: LogLevel, filterCreator?: FilterCreator): ILogItem {
|
runDetached(labelOrValues: LabelOrValues, callback: LogCallback<unknown>, logLevel?: LogLevel, filterCreator?: FilterCreator): ILogItem {
|
||||||
// todo: Remove jsdoc type?
|
|
||||||
if (!logLevel) {
|
if (!logLevel) {
|
||||||
logLevel = LogLevel.Info;
|
logLevel = LogLevel.Info;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue