Documentation
¶
Overview ¶
Package logger provides logging configuration utilities for the gitlab-shell
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
Configure configures the logging singleton for operation inside a remote TTY (like SSH). In this mode an empty LogFile is not accepted and syslog is used as a fallback when LogFile could not be opened for writing.
func ConfigureLogger ¶ added in v14.46.0
ConfigureLogger - gitlab-sshd's log output can be configured to text as per the documentation: https://docs.gitlab.com/omnibus/settings/logs/#json-logging This is currently controlled by the GITLAB_LOG_FORMAT environment variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.