Skip to content

Commit

Permalink
chore: jsdoc for debug (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Aug 14, 2023
1 parent 9fa77f0 commit ed940d7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion lib/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

const { debuglog } = require('util')

/**
* @callback DebugLogger
* @param {string} msg
* @param {...unknown} param
* @returns {void}
*/

/**
* @type {DebugLogger}
*/
const debug = debuglog('avvio')

module.exports = {
debug: debuglog('avvio')
debug
}

0 comments on commit ed940d7

Please sign in to comment.