sslogs

package module
v0.0.0-...-3ed74f0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIN   = 1
	DEBUG = 1
	INFO  = 2
	ERROR = 3
	MAX   = 3
)

These constants represent the logging levels available

Variables

This section is empty.

Functions

func Debug

func Debug(m string)

Debug log call

func Debugf

func Debugf(fs string, args ...interface{})

Debugf formats arguments to be passed to the debug log

func DumpBuffer

func DumpBuffer() []byte

DumpBuffer will return a byte slice of all entries in the log ring buffer

func Error

func Error(m string)

Error log call

func Errorf

func Errorf(fs string, args ...interface{})

Errorf Formats arguments to be passed into the log

func Info

func Info(m string)

Info log call

func Infof

func Infof(fs string, args ...interface{})

Infof formats arguments to be passed to the info log

func SetLogLevel

func SetLogLevel(l int)

SetLogLevel sets the logging level for the application

Types

This section is empty.

Jump to

Keyboard shortcuts

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