u
This commit is contained in:
@@ -7,6 +7,15 @@ function deepStringify (args = []) {
|
||||
return JSON.stringify(args, null, 2) // used in web browser console, to avoid clicking to expand by hand.
|
||||
}
|
||||
|
||||
// function prettyPrint (title, text, color) {
|
||||
// console.log(
|
||||
// `%c ${title} %c ${text} %c`,
|
||||
// `background:${color};border:1px solid ${color}; padding: 1px; border-radius: 2px 0 0 2px; color: #fff;`,
|
||||
// `border:1px solid ${color}; padding: 1px; border-radius: 0 2px 2px 0; color: ${color};`,
|
||||
// 'background:transparent'
|
||||
// )
|
||||
// }
|
||||
|
||||
module.exports =
|
||||
{
|
||||
cclog (...args) {
|
||||
|
||||
Reference in New Issue
Block a user