Packages

Production-ready hyperparameter optimization for Elixir with high Optuna parity. Leverages BEAM fault tolerance, real-time dashboards, and native distributed computing.

Current section

Files

Jump to
scout lib util log.ex
Raw

lib/util/log.ex

# Purpose: centralized, future-proof logger wrappers to eliminate churn
defmodule Scout.Log do
@moduledoc "Thin wrappers over Logger to absorb deprecations and unify metadata."
require Logger
def info(msg, md \\ %{}), do: Logger.info(fn -> {msg, md} end)
def warning(msg, md \\ %{}), do: Logger.warning(fn -> {msg, md} end)
def error(msg, md \\ %{}), do: Logger.error(fn -> {msg, md} end)
def debug(msg, md \\ %{}), do: Logger.debug(fn -> {msg, md} end)
end