Snakepit.Logger (Snakepit v0.6.10)
View SourceCentralized logging for Snakepit with configurable verbosity.
Users can control Snakepit's log output with:
config :snakepit, log_level: :warning # Only show warnings and errors
config :snakepit, log_level: :info # Show info, warnings, and errors (default)
config :snakepit, log_level: :debug # Show everything
config :snakepit, log_level: :none # Suppress all Snakepit logs
Summary
Functions
Log at debug level if configured log level allows it.
Log at error level if configured log level allows it.
Log at info level if configured log level allows it.
Check if logging at the given level is enabled.
Log at warning level if configured log level allows it.
Functions
Log at debug level if configured log level allows it.
Log at error level if configured log level allows it.
Log at info level if configured log level allows it.
Check if logging at the given level is enabled.
Log at warning level if configured log level allows it.