Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestLogger ¶ added in v0.4.0
func GetRequestLogger(ctx *fiber.Ctx) log.Ext1FieldLogger
GetRequestLogger returns a logrus.Ext1FieldLogger that always includes a request's id
func GetSSHRequestLogger ¶ added in v0.4.0
func GetSSHRequestLogger(sessionId string) log.Ext1FieldLogger
GetSSHRequestLogger returns a logrus.Ext1FieldLogger that always includes an ssh request's id
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 ¶
type SmartLogger ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.