UNPKG

310 BJavaScriptView Raw
1'use strict'
2
3const tfunk = require('tfunk')
4const prefix = tfunk('[{blue:Rosid}]')
5
6/**
7 * Log a message similar to browser-sync.
8 * @public
9 * @param {String} msg - Message which should be logged to the console.
10 */
11module.exports = function(msg) {
12
13 msg = tfunk(msg)
14
15 console.log(`${ prefix } ${ msg }`)
16
17}
\No newline at end of file