Discover Packages
github.com/tsg/beats
logp
package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Mar 31, 2015
License: GPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Critical(format, v)
Debug(selector, format, v)
Err(format, v)
Info(format, v)
IsDebug(selector)
LogInit(level, prefix, toSyslog, toStderr, debugSelectors)
Recover(msg)
SetToStderr(toStderr)
WTF(format, v)
Warn(format, v)
Types
Source Files
Documentation Source Files Index Constants Variables Functions Types Critical(format, v) Debug(selector, format, v) Err(format, v) Info(format, v) IsDebug(selector) LogInit(level, prefix, toSyslog, toStderr, debugSelectors) Recover(msg) SetToStderr(toStderr) WTF(format, v) Warn(format, v) type Logger type Priority
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
func Critical(format string, v ...interface{})
func Debug(selector string, format string, v ...interface{})
func Err(format string, v ...interface{})
func Info(format string, v ...interface{})
func IsDebug(selector string) bool
func LogInit(level Priority, prefix string, toSyslog bool, toStderr bool, ...)
func Recover(msg string)
func SetToStderr(toStderr bool)
func WTF(format string, v ...interface{})
func Warn(format string, v ...interface{})
type Logger
type Priority
func Critical(format string , v ...interface{})
func Debug(selector string , format string , v ...interface{})
func Err(format string , v ...interface{})
func Info(format string , v ...interface{})
func SetToStderr(toStderr bool )
func WTF(format string , v ...interface{})
func Warn(format string , v ...interface{})
const (
LOG_EMERG Priority = iota
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.