Skip to content

Feature Request: Conform DiagnosticLogger to SwiftLog LogHandler #150

@edorphy

Description

@edorphy

It would be great if DiagnosticLogger was a backing store of SwiftLog's LogHandler. Aside from setup (bootstraping) it would be a true drop-in addition to projects that already make use of other interface logging backing stores.

https://github.com/apple/swift-log

https://github.com/apple/swift-log#on-the-implementation-of-a-logging-backend-a-loghandler

The DiagnosticLogger only has two log levels, where SwiftLog and the standard library OSLog / Logger APIs support many more levels. Is conforming as a LogHandler backing store something that would align with the goals of this project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions