Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

SwiftLog Backend #1

Closed
slashmo opened this issue May 25, 2020 · 3 comments
Closed

SwiftLog Backend #1

slashmo opened this issue May 25, 2020 · 3 comments
Labels
question Further information is requested

Comments

@slashmo
Copy link
Owner

slashmo commented May 25, 2020

Evaluate whether it makes sense to build a Logging LogHandler that uses the Context as metadata storage.

@slashmo slashmo added the question Further information is requested label May 25, 2020
@ktoso
Copy link
Collaborator

ktoso commented May 25, 2020

Yup, open question; It would allow us to "pass through" set/get the context metadata if it is being set on a logger, since:

https://github.com/apple/swift-log/blob/master/Sources/Logging/Logging.swift#L76-L84

Though I guess we'd still need to "set" things on the logger metadata if we want any backend to print it...

Good topic to keep in mind 👍

@ktoso
Copy link
Collaborator

ktoso commented Jun 25, 2020

This is now Logging performance considerations #38

@ktoso
Copy link
Collaborator

ktoso commented Jun 25, 2020

Duplicate of #38

@ktoso ktoso marked this as a duplicate of #38 Jun 25, 2020
@ktoso ktoso closed this as completed Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants