Documentation ¶
Index ¶
- Constants
- func NewLogMan(filename string, dashFile *os.File) *logMan
- type Logger
- func (l *Logger) CanLogAccess() bool
- func (l *Logger) CanLogError() bool
- func (l *Logger) Close()
- func (l *Logger) LogAccess(payload []byte)
- func (l *Logger) LogAccessString(payload string)
- func (l *Logger) LogError(payload []byte)
- func (l *Logger) LogErrorString(payload string)
- func (l *Logger) LogErrors(errors ...error)
- func (l *Logger) Open() (errors []error)
- func (l *Logger) ReOpen() (errors []error)
Constants ¶
View Source
const CHAN_BUFFER = 15
View Source
const LOG_BUF_SIZE = 80
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) CanLogAccess ¶
func (*Logger) CanLogError ¶
func (*Logger) LogAccessString ¶
func (*Logger) LogErrorString ¶
Click to show internal directories.
Click to hide internal directories.