Babel plugin which adds a prefix to console.log
argument.
yarn add @overfuse/babel-plugin-console-prefix
Via .babelrc
{
"plugins": [
["@overfuse/babel-plugin-console-prefix", { "prefix": "Bonify rocks" }]
]
}
// input
console.log(n);
// output
console.log("Bonify rocks" + n);