bounce/0 | |
bounce/1 | |
get_logs/0 | Before every test, just lager_common_test_backend:bounce(Level) with the log level of your choice. |
terminate/2 | gen_event callback, does nothing. |
bounce() -> any()
bounce(Level) -> any()
get_logs() -> [iolist()] | {error, term()}
Before every test, just lager_common_test_backend:bounce(Level) with the log level of your choice. Every message will be passed along to ct:pal for your viewing in the common_test reports. Also, you can call lager_common_test_backend:get_logs/0 to get a list of all log messages this backend has received during your test. You can then search that list for expected log messages.
terminate(Reason::any(), State::#state{level = {mask, integer()}, formatter = atom(), format_config = any(), log = list()}) -> {ok, list()}
gen_event callback, does nothing.
Generated by EDoc