Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Mar 8, 2024
1 parent fc0bf53 commit 96bd1cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loglevel-mixin.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function declareLevels(list) {
* This function will only be called if the current loglevel is greater equal
* the log level of the called logging function.
* By default a method log(level,message) will be used
* @return {undefined}
* @return {void}
* @example
* defineLoggerMethods( obj)
* obj.info('info entry'); // will redirect to theFunction if obj.loglevel is at least info
Expand Down Expand Up @@ -159,7 +159,7 @@ export function LogLevelMixin(
* @param {string} severity log severity
* @param {string|Object} arg original log message - level may be overwritten
* @param {Object} [args] additional values to be merged into the final log event - values have precedence
* @return {Object} suitable for log event processing
* @return {{message:string}}} suitable for log event processing
*/
export function makeLogEvent(severity, arg, args) {
if (typeof arg === "string") {
Expand Down

0 comments on commit 96bd1cc

Please sign in to comment.