log

package
Version: v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = blammo.NewLogger()

Logger is the global logger

Functions

func Debug

func Debug() *blammo.Event

Debug returns a debug level logging event you can add values and messages to

func Error

func Error() *blammo.Event

Error returns an error level logging event you can add values and messages to

func Info

func Info() *blammo.Event

Info returns an info level logging event you can add values and messages to

func SetDebug added in v1.0.3

func SetDebug(enabled bool)

SetDebug switches debugging on or off

func Warn

func Warn() *blammo.Event

Warn returns a warning level logging event you can add values and messages to

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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