How does env_logger work without being importing the library?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • env_logger

    A logging implementation for `log` which is configured via an environment variable.

  • I've been using env_logger for setting log-levels through environment variables, and I've been confused about something. In every example of the library, they just say call env_logger::init() before instantiating any logger, and I do that. But the weird this is that, I can call this without a use env_logger line anywhere in my module or code. I've added env_logger to the Cargo.toml file, but that shouldn't be enough to inject this module into the runtime, should it? If that is the case, how are they doing this?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Why Choose ULIDs over Traditional UUIDs or IDs for Database Identification?

    1 project | news.ycombinator.com | 5 May 2024
  • Show HN: Rustubble – Beautifull CLI components for your terminal

    1 project | news.ycombinator.com | 5 May 2024
  • Alert for Social Engineering Takeovers of Open Source Projects

    2 projects | news.ycombinator.com | 5 May 2024
  • What is a low/reasonable cost solution for service log storage and querying?

    1 project | news.ycombinator.com | 5 May 2024
  • Verified Rust for low-level systems code

    6 projects | news.ycombinator.com | 4 May 2024