Documentation
¶
Index ¶
- func AddOutput(l event.Logger)
- func Critical(v ...interface{})
- func Criticalf(format string, v ...interface{})
- func Criticals(msg string, tags ...interface{})
- func Criticalw(r io.Reader)
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Debugs(msg string, tags ...interface{})
- func Debugw(r io.Reader)
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Errors(msg string, tags ...interface{})
- func Errorw(r io.Reader)
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func Fatals(msg string, tags ...interface{})
- func GetOutput() event.Logger
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func Infos(msg string, tags ...interface{})
- func Infow(r io.Reader)
- func NilCritical(_ ...interface{})
- func NilCriticalf(_ string, _ ...interface{})
- func NilCriticals(msg string, tags ...interface{})
- func NilCriticalw(_ io.Reader)
- func NilDebug(_ ...interface{})
- func NilDebugf(_ string, _ ...interface{})
- func NilDebugs(msg string, tags ...interface{})
- func NilDebugw(_ io.Reader)
- func NilError(_ ...interface{})
- func NilErrorf(_ string, _ ...interface{})
- func NilErrors(msg string, tags ...interface{})
- func NilErrorw(_ io.Reader)
- func NilFatal(_ ...interface{})
- func NilFatalf(_ string, _ ...interface{})
- func NilFatals(msg string, tags ...interface{})
- func NilFatalw(_ io.Reader)
- func NilInfo(_ ...interface{})
- func NilInfof(_ string, _ ...interface{})
- func NilInfos(msg string, tags ...interface{})
- func NilInfow(_ io.Reader)
- func NilNotice(_ ...interface{})
- func NilNoticef(_ string, _ ...interface{})
- func NilNotices(msg string, tags ...interface{})
- func NilNoticew(_ io.Reader)
- func NilPrint(_ ...interface{})
- func NilPrintf(_ string, _ ...interface{})
- func NilPrintln(_ ...interface{})
- func NilWarning(_ ...interface{})
- func NilWarningf(_ string, _ ...interface{})
- func NilWarnings(msg string, tags ...interface{})
- func NilWarningw(_ io.Reader)
- func Notice(v ...interface{})
- func Noticef(format string, v ...interface{})
- func Notices(msg string, tags ...interface{})
- func Noticew(r io.Reader)
- func Output(logger event.Logger, calldepth int, in ...interface{})
- func Outputs(logger event.Logger, calldepth int, level event.Level, msg string, ...)
- func Panic(v ...interface{})
- func Panicf(format string, v ...interface{})
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func SetOutput(l event.Logger)
- func SetVerbose(level event.Level)
- func StartupBanner()
- func Tee(r io.ReadCloser) (w io.ReadCloser)
- func Warning(v ...interface{})
- func Warningf(format string, v ...interface{})
- func Warnings(msg string, tags ...interface{})
- func Warningw(r io.Reader)
- func Write(r io.Reader)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Criticalf ¶
func Criticalf(format string, v ...interface{})
Criticalf formatted outputs to logger with CRITICAL level.
func Criticalw ¶
Criticalw outputs io.Reader to logger with CRITICAL level.
func Debugf ¶
func Debugf(format string, v ...interface{})
Debugf formats output to logger with DEBUG level.
func Errorf ¶
func Errorf(format string, v ...interface{})
Errorf formatted outputs to logger with ERROR level.
func Fatal ¶
func Fatal(v ...interface{})
Fatal is equivalent to Print() followed by a call to os.Exit(1).
func Fatalf ¶
func Fatalf(format string, v ...interface{})
Fatalf is equivalent to Printf() followed by a call to os.Exit(1).
func Infof ¶
func Infof(format string, v ...interface{})
Infof formatted outputs to logger with INFO level.
func NilCriticals ¶
func NilCriticals(msg string, tags ...interface{})
NilCriticals structured debug message
func NilNotices ¶
func NilNotices(msg string, tags ...interface{})
NilNotices structured debug message
func NilWarnings ¶
func NilWarnings(msg string, tags ...interface{})
NilWarnings structured debug message
func Noticef ¶
func Noticef(format string, v ...interface{})
Noticef formatted outputs to logger with NOTICE level.
func Output ¶
Output something out
func Outputs ¶
func Outputs(logger event.Logger, calldepth int, level event.Level, msg string, tags ...interface{})
Outputs generate event in the form Logger, depth, msg, [key, value], [key, value] ...
func Panic ¶
func Panic(v ...interface{})
Panic is equivalent to Print() followed by a call to panic().
func Panicf ¶
func Panicf(format string, v ...interface{})
Panicf is equivalent to Printf() followed by a call to panic().
func Print ¶
func Print(v ...interface{})
Print calls Output to print to the standard logger. Arguments are handled in the manner of fmt.Print.
func Printf ¶
func Printf(format string, v ...interface{})
Printf calls Output to print to the standard logger. Arguments are handled in the manner of fmt.Printf.
func SetOutput ¶
SetOutput sets the output destination for the standard logger.
func Tee ¶
func Tee(r io.ReadCloser) (w io.ReadCloser)
Tee outputs contents of io.Reader to standard logger. and returns a new io.Reader
Types ¶
This section is empty.