Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Improved logger - Closes #830 #831

Merged
merged 9 commits into from
Nov 27, 2018
Merged

Improved logger - Closes #830 #831

merged 9 commits into from
Nov 27, 2018

Conversation

MichalTuleja
Copy link
Contributor

Review checklist

if (!Array.isArray(config.log.output)) {
if (typeof config.log.output === 'string') {
config.log.output = [config.log.output];
} else if (typeof config.log.file === 'string') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really like this config file "backward compatibility". ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The backward compatibility is not the main reason for that. Potential users might still want to use a single output the most intuitive way possible.

@MichalTuleja MichalTuleja merged commit 64a452c into 2.2.0 Nov 27, 2018
@MichalTuleja MichalTuleja deleted the 830-improved-logger branch November 27, 2018 15:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants