logging

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package logging provides logging facilities for ALoLStats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) *logrus.Entry

Get a logger with prefix name

func Init

func Init()

Init the logging framework has to be called only once

func SetLogFile

func SetLogFile(logFile string) error

SetLogFile enables logging to a log file in addition to stdout

func SetLoggingLevel

func SetLoggingLevel(loggingLevel string) error

SetLoggingLevel takes one of the strings panic, fatal, error, warn/warning, info or debug and sets the log level accordingly

Types

This section is empty.

Jump to

Keyboard shortcuts

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