Skip to content

Conversation

@de-sh
Copy link
Contributor

@de-sh de-sh commented Nov 21, 2024

Starts implementing #139

env_logger

  • Simple Logging:
    1. Filters log messages based on environment variables (e.g., RUST_LOG).
    2. Outputs log messages in a human-readable format.\
  • Compatibility: Works seamlessly with crates that use the log crate for emitting log messages.
  • Configuration: Easy setup with minimal dependencies.

tracing_subscriber

  • Advanced Tracing:
    1. Supports spans, which represent scopes of work and can include nested spans for hierarchical logging.
    2. Collects rich metadata about events and spans (e.g., source location, fields, etc.).
    3. Allows dynamic configuration and advanced filtering (e.g., by span, field, or metadata).
  • Subscribers:
    1. Provides customizable subscribers for processing trace data (e.g., fmt, json, or custom handlers).
    2. Offers flexibility in output formats, including JSON or custom formats.
  • Integration: Works with other tools like tracing-opentelemetry for distributed tracing.

Before
Screenshot 2024-11-21 at 3 19 02 PM

After
Screenshot 2024-11-21 at 3 23 28 PM

@de-sh de-sh marked this pull request as ready for review November 21, 2024 09:51
Copy link
Contributor

@nikhilsinhaparseable nikhilsinhaparseable left a comment

Choose a reason for hiding this comment

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

looks good to merge

@nitisht nitisht merged commit af5903d into parseablehq:main Nov 25, 2024
8 checks passed
de-sh pushed a commit that referenced this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants