logging

package
v1.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RemoteLogging  = LogType("remote")
	FileLogging    = LogType("file")
	ConsoleLogging = LogType("console")

	Syslog = LogFormat("syslog")
	Gelf   = LogFormat("gelf")
	Json   = LogFormat("json")
)

Variables

This section is empty.

Functions

func Setup

func Setup(logger *log.Logger, loggingConfig settings.Logging, isDebug bool)

Setup set up all logs

Types

type LogFormat

type LogFormat string

type LogType

type LogType string

Jump to

Keyboard shortcuts

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