logging

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2025 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

func IsDebugEnabled(cfg config.View) bool

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

func IsDebugLevel

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