Documentation
¶
Index ¶
- Constants
- Variables
- func Debug(format string, v ...interface{})
- func Error(format string, v ...interface{})
- func Fatal(format string, v ...interface{})
- func Info(format string, v ...interface{})
- func Warn(format string, v ...interface{})
- type LL_Type
- func (ll LL_Type) BitAnd(l2 LL_Type) LL_Type
- func (ll LL_Type) BitClear(l2 LL_Type) LL_Type
- func (ll LL_Type) BitOr(l2 LL_Type) LL_Type
- func (ll LL_Type) BitTest(l2 LL_Type) bool
- func (ll LL_Type) BitXor(l2 LL_Type) LL_Type
- func (ll LL_Type) IsLastLevel() bool
- func (ll LL_Type) IsLevel(l2 LL_Type) bool
- func (ll LL_Type) LevelsString() string
- func (ll LL_Type) NextLevel(n uint) LL_Type
- func (ll LL_Type) PreLevel(n uint) LL_Type
- func (ll LL_Type) StartLevel() LL_Type
- func (ll LL_Type) String() string
- func (ll LL_Type) TestAt(n int) bool
- type LogBase
- func (lg *LogBase) AddDestination(ll LL_Type, o logdestinationi.LogDestinationI)
- func (l *LogBase) Debug(format string, v ...interface{})
- func (lg *LogBase) DelDestination(ll LL_Type, o logdestinationi.LogDestinationI)
- func (l *LogBase) Error(format string, v ...interface{})
- func (l *LogBase) Fatal(format string, v ...interface{})
- func (lg *LogBase) Format2Bytes(calldepth int, ll LL_Type, format string, v ...interface{}) []byte
- func (lg *LogBase) GetFlags() logflagi.LogFlagI
- func (lg *LogBase) GetLevel() LL_Type
- func (lg *LogBase) GetPrefix() string
- func (l *LogBase) Info(format string, v ...interface{})
- func (lg *LogBase) LogPrintf(calldepth int, ll LL_Type, format string, v ...interface{}) ([]byte, error)
- func (lg *LogBase) Output(ll LL_Type, b []byte) error
- func (lg *LogBase) Reload() error
- func (lg *LogBase) SetFlags(flag logflagi.LogFlagI)
- func (lg *LogBase) SetLevel(level LL_Type)
- func (lg *LogBase) SetPrefix(p string)
- func (lg *LogBase) String() string
- func (l *LogBase) Warn(format string, v ...interface{})
Constants ¶
Variables ¶
View Source
var ( OutputStdout = logdestination_stdio.NewStdOut() OutputStderr = logdestination_stdio.NewStdErr() )
Functions ¶
Types ¶
type LL_Type ¶
type LL_Type uint64
func (LL_Type) IsLastLevel ¶
func (LL_Type) LevelsString ¶
func (LL_Type) StartLevel ¶
type LogBase ¶
type LogBase struct {
// contains filtered or unexported fields
}
var GlobalLogger *LogBase
////////////////////////////////////////////////////////////////
func NewWithDstDir ¶
func (*LogBase) AddDestination ¶
func (lg *LogBase) AddDestination( ll LL_Type, o logdestinationi.LogDestinationI)
func (*LogBase) DelDestination ¶
func (lg *LogBase) DelDestination( ll LL_Type, o logdestinationi.LogDestinationI)
func (*LogBase) Format2Bytes ¶
Click to show internal directories.
Click to hide internal directories.