logging

package
v1.8.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logging configures the Logrus logging library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogging

func ConfigureLogging(cfg config.View)

ConfigureLogging sets up open match logrus instance using the logging section of the matchmaker_config.json

  • log line format (text[default] or json)
  • min log level to include (debug, info [default], warn, error, fatal, panic)

func IsDebugEnabled added in v0.7.0

func IsDebugEnabled(cfg config.View) bool

IsDebugEnabled returns true if the logging level is debug or more granular.

func IsDebugLevel added in v0.7.0

func IsDebugLevel(level string) bool

IsDebugLevel returns true if the logging level is debug or more granular.

Types

This section is empty.

Jump to

Keyboard shortcuts

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