Caddy.Logger (Caddy v2.0.7)

View Source

Start Caddy Logger

Collect caddy process logs from stdout and stderr.

Keep latest 50_000 lines of logs.

Summary

Functions

Returns a specification to start this module under a supervisor.

Get latest num logs

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(args)

tail(num \\ 100)

@spec tail(integer()) :: [binary()]

Get latest num logs