Documentation ¶
Index ¶
- Constants
- func SetOpenLogger(ok bool)
- type LLogger
- type LLoggerImpl
- func (c *LLoggerImpl) Debug(format string, v ...interface{})
- func (c *LLoggerImpl) Error(format string, v ...interface{})
- func (c *LLoggerImpl) Info(format string, v ...interface{})
- func (c *LLoggerImpl) Panic(format string, v ...interface{})
- func (c *LLoggerImpl) ReadLoggerStatus() bool
- func (c *LLoggerImpl) Warn(format string, v ...interface{})
- type NilLogger
Constants ¶
View Source
const ( OpenLogger int64 = 1 << 10 CloseLogger int64 = 1 << 11 )
Variables ¶
This section is empty.
Functions ¶
func SetOpenLogger ¶
func SetOpenLogger(ok bool)
Types ¶
type LLogger ¶
type LLogger interface { Info(format string, v ...interface{}) Debug(format string, v ...interface{}) Warn(format string, v ...interface{}) Error(format string, v ...interface{}) Panic(format string, v ...interface{}) }
var DefaultLogger LLogger
type LLoggerImpl ¶
type LLoggerImpl struct {
// contains filtered or unexported fields
}
func (*LLoggerImpl) Debug ¶
func (c *LLoggerImpl) Debug(format string, v ...interface{})
func (*LLoggerImpl) Error ¶
func (c *LLoggerImpl) Error(format string, v ...interface{})
func (*LLoggerImpl) Info ¶
func (c *LLoggerImpl) Info(format string, v ...interface{})
func (*LLoggerImpl) Panic ¶
func (c *LLoggerImpl) Panic(format string, v ...interface{})
func (*LLoggerImpl) ReadLoggerStatus ¶
func (c *LLoggerImpl) ReadLoggerStatus() bool
func (*LLoggerImpl) Warn ¶
func (c *LLoggerImpl) Warn(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.