lager_x v0.14.1 LagerX

Link to this section Summary

Functions

This function is used to get compile time log level. Examples: iex(4)> LagerX.compile_log_level :info

This function is used to set compile time log level. By default the log level is ‘info’. Examples: iex(4)> LagerX.compile_log_level(6) true iex(4)> LagerX.compile_log_level(:info) true

This function is used to set compile time truncation size. By default the truncation size is 4096. Examples: iex(4)> LagerX.compile_truncation_size(512) true

See :lager.get_loglevel/1

See :lager.md/0

See :lager.md/1

See :lager.posix_error/1

See :lager.set_loglevel/2

See :lager.set_loglevel/3

See :lager.status/0

See :lager.stop_trace/1

See :lager.trace_console/1

See :lager.trace_file/3

Link to this section Functions

Link to this macro alert(message) (macro)
Link to this macro alert(sink, message) (macro)
Link to this macro alert(sink, format, message) (macro)
Link to this function clear_all_traces()
clear_all_traces() :: true
Link to this function compile_log_level()

This function is used to get compile time log level. Examples: iex(4)> LagerX.compile_log_level :info

Link to this function compile_log_level(level)

This function is used to set compile time log level. By default the log level is ‘info’. Examples: iex(4)> LagerX.compile_log_level(6) true iex(4)> LagerX.compile_log_level(:info) true

Link to this function compile_truncation_size()
Link to this function compile_truncation_size(size)

This function is used to set compile time truncation size. By default the truncation size is 4096. Examples: iex(4)> LagerX.compile_truncation_size(512) true

Link to this macro critical(message) (macro)
Link to this macro critical(sink, message) (macro)
Link to this macro critical(sink, format, message) (macro)
Link to this macro debug(message) (macro)
Link to this macro debug(sink, message) (macro)
Link to this macro debug(sink, format, message) (macro)
Link to this macro emergency(message) (macro)
Link to this macro emergency(sink, message) (macro)
Link to this macro emergency(sink, format, message) (macro)
Link to this macro error(message) (macro)
Link to this macro error(sink, message) (macro)
Link to this macro error(sink, format, message) (macro)
Link to this function get_loglevel(handler)

See :lager.get_loglevel/1.

Link to this macro info(message) (macro)
Link to this macro info(sink, message) (macro)
Link to this macro info(sink, format, message) (macro)

See :lager.md/0.

Link to this function md(new_md_list)

See :lager.md/1.

Link to this macro none(message) (macro)
Link to this macro none(sink, message) (macro)
Link to this macro none(sink, format, message) (macro)
Link to this macro notice(message) (macro)
Link to this macro notice(sink, message) (macro)
Link to this macro notice(sink, format, message) (macro)
Link to this function posix_error(error)

See :lager.posix_error/1.

Link to this function set_loglevel(handler, level)

See :lager.set_loglevel/2.

Link to this function set_loglevel(handler, indent, level)

See :lager.set_loglevel/3.

See :lager.status/0.

Link to this function stop_trace(trace)

See :lager.stop_trace/1.

Link to this function trace_console(filter)

See :lager.trace_console/1.

Link to this function trace_file(file, filter, level)

See :lager.trace_file/3.

Link to this macro warning(message) (macro)
Link to this macro warning(sink, message) (macro)
Link to this macro warning(sink, format, message) (macro)