Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLogger ¶ added in v0.22.0
AccessLogger returns the shared access log writer. Both the main server and the admin API server should use this as the output for their fiber logger middleware so that MustUpdateAccessLogger swaps the underlying writer for both at once.
func DebugEnabled ¶
func DebugEnabled() bool
func MustGetAccessLogger ¶
MustGetAccessLogger open the server access logger; on failure the program exits
func MustUpdateAccessLogger ¶
func MustUpdateAccessLogger()
MustUpdateAccessLogger updates the writer of the access logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.