-
Notifications
You must be signed in to change notification settings - Fork 301
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
Update metadata formatting for readability #163
Conversation
Motivation: For packages that generate logs and use them as part of the development process, it is beneficial to be able to read through logs without having to write custom log handlers or pull in a dependency for formatting only at dev time. Modifications: - Change: The format of `StreamLogHandler` to output metadata on newlines with tab indentation Result: Package authors will have an easier time debugging their applications without boilerplate code or dependencies. This resolves #162
Can one of the admins verify this patch? |
5 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
@swift-server-bot add to whitelist |
Moved to: #162 to keep the general discussion in one place. |
Sure, I'll move my comment |
Following the discussion in the issue #162 I'm sorry but we won't be accepting such human-readable improvements into swift-log itself. Let's work on a separate package that can handle this though, happy to help! |
Understandable! No hurt feelings here |
Motivation:
For packages that generate logs and use them as part of the development process,
it is beneficial to be able to read through logs without having to write custom
log handlers or pull in a dependency for formatting only at dev time.
Modifications:
StreamLogHandler
to output metadata on newlines with tab indentationResult:
Package authors will have an easier time debugging their applications without boilerplate code or dependencies.
This resolves #162