ex_aliyun_sls v0.2.0 ExAliyunSls.LoggerBackend View Source
The logger backend to send your logs to Aliyun Log Service by package.
Link to this section Summary
Functions
Callback implementation for c::gen_event.handle_call/2.
Callback implementation for c::gen_event.handle_event/2.
Callback implementation for c::gen_event.handle_info/2.
Callback implementation for c::gen_event.init/1.
Callback implementation for c::gen_event.terminate/2.
Link to this section Types
Link to this type
level()
View Source
level()
View Source
level() :: Logger.level()
level() :: Logger.level()
Link to this type
metadata()
View Source
metadata()
View Source
metadata() :: [atom()]
metadata() :: [atom()]
Link to this section Functions
Link to this function
add_item_to_package(item) View Source
Link to this function
build_content(kv_list) View Source
Link to this function
build_one_log(level, msg, timestamp, metadata) View Source
Link to this function
clear_current_package(state) View Source
Link to this function
empty_package() View Source
Link to this function
format(item) View Source
Link to this function
get_count() View Source
Link to this function
get_pack_id(source, pack) View Source
Link to this function
get_package() View Source
Link to this function
get_source() View Source
Link to this function
handle_call(arg, state) View Source
Callback implementation for c::gen_event.handle_call/2.
Link to this function
handle_event(arg1, state) View Source
Callback implementation for c::gen_event.handle_event/2.
Link to this function
handle_info(arg1, state) View Source
Callback implementation for c::gen_event.handle_info/2.
Link to this function
init(arg) View Source
Callback implementation for c::gen_event.init/1.
Link to this function
push_to_sls(state) View Source
Link to this function
push_when_exit(state) View Source
Link to this function
put_item(item, state) View Source
Link to this function
terminate(reason, state) View Source
Callback implementation for c::gen_event.terminate/2.