logger

package
v14.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 7 Imported by: 0

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 ConfigureLogger added in v14.46.0

func ConfigureLogger(cfg *config.Config) io.Closer

ConfigureLogger uses text output if either log_format or GITLAB_LOG_FORMAT is "text". Labkit reads GITLAB_LOG_FORMAT directly. Passing the config's "json" default would override that environment setting, so only "text" is passed through. See the omnibus logging documentation: https://docs.gitlab.com/omnibus/settings/logs/#json-logging

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL