Dump to console the error data associated with logger error calls.
This commit is contained in:
parent
c50d4b0f6e
commit
19311e683c
@ -115,6 +115,10 @@ export default class Logger {
|
||||
|
||||
console.log(important ? chalk.bold(log) : log);
|
||||
|
||||
if (level === "error" && data !== null) {
|
||||
console.log(data);
|
||||
}
|
||||
|
||||
if (store) {
|
||||
if (this.syslogClient) {
|
||||
const send =
|
||||
|
Loading…
Reference in New Issue
Block a user