log

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg interface{})

Debug will write a debug log

func Debugf

func Debugf(msg string, values ...interface{})

Debugf will write a debug log sprintf-style

func Error

func Error(msg interface{})

Error will write a error log

func Errorf

func Errorf(msg string, values ...interface{})

Errorf will write a error log sprintf-style

func Fatal

func Fatal(msg interface{})

Fatal will write a fatal log

func Fatalf

func Fatalf(msg string, values ...interface{})

Fatalf will write a fatal log sprintf-style

func Field

func Field(name string, val interface{}) mojito.Logger

Field will add a field to a new logger and return it

func Fields

func Fields(fields mojito.LogFields) mojito.Logger

Fields will add multiple fields to a new logger and return it

func Info

func Info(msg interface{})

Info will write a info log

func Infof

func Infof(msg string, values ...interface{})

Infof will write a info log sprintf-style

func Trace

func Trace(msg interface{})

Trace will write a trace log

func Tracef

func Tracef(msg string, values ...interface{})

Tracef will write a trace log sprintf-style

func Warn

func Warn(msg interface{})

Warn will write a warn log

func Warnf

func Warnf(msg string, values ...interface{})

Warnf will write a warn log sprintf-style

Types

This section is empty.

Jump to

Keyboard shortcuts

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