create client side logger
This commit is contained in:
parent
6b7c0f8454
commit
0eda018113
|
@ -0,0 +1,7 @@
|
|||
class Logger {
|
||||
log({ message, level, service }) {
|
||||
console.info(`%c${level}\n%c${service}\n${message}`, "color: blue, color: grey")
|
||||
}
|
||||
}
|
||||
|
||||
export default new Logger()
|
Loading…
Reference in New Issue