Dump to console the error data associated with logger error calls.
This commit is contained in:
parent
c50d4b0f6e
commit
19311e683c
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue