View Source Conion.Common.CentralLogger (conion v0.1.0)
Wrapper around the default Logger. Always use the
Elixir.Conion.Common.CentralLogger.log/1 to do logging. This ensures all
log messages are formatted the same and are easy to
read and configure in a single place.
You can also use CentralLogger to import the log/3
function into your module.
Summary
Functions
Call the system's Logger.configure/1 function.
The element is passed through the function, so you can
use this function in a pipe.
Functions
Call the system's Logger.configure/1 function.
The element is passed through the function, so you can
use this function in a pipe.
element ..... the element to log and return at the end
level ....... log in which LOG_LEVEL
message ..... the text to prepend to the element inspect