ScoutApm.Logger (scout_apm v2.0.0)

Copy Markdown

Logger for all ScoutApm modules.

Defaults to pass-through to the built-in Logger, but checks first if the agent is set to monitor: false, or set to a higher log level.

Due to using Logger.log/2, ScoutApm.Logger calls will not be eliminated at compile-time.

Summary

Functions

log(level, chardata_or_fun, metadata \\ [])