Current section
Files
Jump to
Current section
Files
lib/behaviour/timber.ex
defmodule SaltLog.Behaviour.Timber do
@moduledoc """
Salt logging provider implementation
"""
@behaviour SaltLog
def add_context(context, value) do
Map.new()
|> Map.put(context, value)
|> Timber.add_context()
end
def get_context do
Timber.LocalContext.load()
end
end