Youtrack Logger Backend v0.1.13 Logger.Backends.Youtrack View Source
A module implementing an elixir logger backend that logs to youtrack.
Link to this section Summary
Functions
Callback implementation for c::gen_event.code_change/3
Callback implementation for c::gen_event.handle_call/2
Responsible logic for the actual logging. Checking if the level is acceptable to log. Generating the logging formats. Logging the resulting messages
Callback implementation for c::gen_event.handle_info/2
Initial entry point on creating the gen event. Will create if the given config is valid
Callback implementation for c::gen_event.terminate/2
Link to this section Functions
Callback implementation for c::gen_event.code_change/3
.
Callback implementation for c::gen_event.handle_call/2
.
Responsible logic for the actual logging. Checking if the level is acceptable to log. Generating the logging formats. Logging the resulting messages.
Parameters:
- a tuple containing the data and metadata
- state: e.g. %Logger.Backends.Youtrack{_}
Callback implementation for c::gen_event.handle_info/2
.
Initial entry point on creating the gen event. Will create if the given config is valid.
Parameters
- any tuple
Returns
tuple:
- {:ok, %{_}}
- {:error, :ignore}
Callback implementation for c::gen_event.terminate/2
.