Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix winston logging to be primarily single-line #554

Merged
merged 1 commit into from
Aug 9, 2020

Conversation

Throne3d
Copy link
Collaborator

@Throne3d Throne3d commented Aug 9, 2020

Fixes ugly lines like:

2020-08-09T01:55:45.984Z debug: Connecting to IRC and Discord {
  message: undefined,
  level: undefined,
  timestamp: '2020-08-09T01:55:45.984Z',
  splat: undefined,
  [Symbol(level)]: 'debug'
}
2020-08-09T01:55:46.117Z debug: Received debug event from Discord {
  level: undefined,
  message: undefined,
  timestamp: '2020-08-09T01:55:46.117Z',
  splat: undefined,
  [Symbol(level)]: 'debug',
  [Symbol(splat)]: [ 'Using gateway wss://gateway.discord.gg/?v=6&encoding=json' ]
}

To be more like:

2020-08-09T01:54:34.452Z debug: Connecting to IRC and Discord
2020-08-09T01:54:34.567Z debug: Received debug event from Discord Using gateway wss://gateway.discord.gg/?v=6&encoding=json

@Throne3d Throne3d added the bug label Aug 9, 2020
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 96.857% when pulling 8291f9d on fix-winston-logging into 91ad0b1 on master.

@Throne3d Throne3d merged commit ee2d70f into master Aug 9, 2020
@Throne3d Throne3d deleted the fix-winston-logging branch August 9, 2020 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants