ddstats-server/libs/utills/log.js

3 lines
103 B
JavaScript

export default function initLog(prefix) {
return string => console.log(`${prefix} >>> ${string}`)
}