Module erlogstash

Behaviours: application, supervisor.

Data Types

output()

output() = {file, file:name_all() | iodata()} | {udp, inet:hostname() | inet:ip_address(), inet:port_number()} | {tcp, inet:hostname() | inet:socket_address(), inet:port_number()} | {tcp, inet:hostname() | inet:socket_address(), inet:port_number(), timeout()}

payload()

payload() = iodata()

worker()

worker() = supervisor:sup_ref()

Function Index

send/2
start_link/0 Starts the supervisor.
start_worker/1
start_worker/2
stop_worker/1

Function Details

send/2

send(Worker::worker(), Payload::payload()) -> ok

start_link/0

start_link() -> supervisor:startlink_ret()

Starts the supervisor

start_worker/1

start_worker(Output::output()) -> {ok, pid()} | {error, supervisor:startchild_err()}

start_worker/2

start_worker(Worker::worker() | {local, atom()}, Output::output()) -> {ok, pid()} | {error, supervisor:startchild_err()}

stop_worker/1

stop_worker(Worker::worker()) -> ok


Generated by EDoc