logger

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2017 License: BSD-3-Clause Imports: 1 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	// Level returns the current log level.
	Level() loglevel.LogLevel

	// Debug formats according to a format specifier and writes a debug log message.
	Debug(format string, v ...interface{})

	// Info formats according to a format specifier and writes an info log message.
	Info(format string, v ...interface{})

	// Statistics formats according to a format specifier and writes a statistics log message.
	Statistics(format string, v ...interface{})

	// Warn formats according to a format specifier and writes a warns log message.
	Warn(format string, v ...interface{})

	// Errror formats according to a format specifier and writes an error log message.
	Error(format string, v ...interface{})

	// Fatal formats according to a format specifier and writes a fatal log message.
	Fatal(format string, v ...interface{})
}

Directories

Path Synopsis
Package console provides a (console) logger that implements the allmark.io/modules/common/logger.Logger interface.
Package console provides a (console) logger that implements the allmark.io/modules/common/logger.Logger interface.

Jump to

Keyboard shortcuts

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