Skip to content

Enhance log experience #33

Description

@killercup

In #30, we landed initial support for being a log target. But we can go further.

Ideas:

  • Add custom log macros (trace, info, debug, warn, error) that take a (mutable ref to an) Output as first param
    • Behind a cargo feature called "log-macros" (or similar)
  • Be compatible with slog and support its many adapters
    • Behind a cargo feature called "slog"
  • Look at An RFC for structured logging rust-lang/log#296 -- structured data in log macros

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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