Documentation ¶
Overview ¶
Copyright © 2021 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.
Index ¶
- type MacaroniCtlLogger
- func (l *MacaroniCtlLogger) Debug(mess ...interface{})
- func (l *MacaroniCtlLogger) DebugC(mess ...interface{})
- func (l *MacaroniCtlLogger) Error(mess ...interface{})
- func (l *MacaroniCtlLogger) Fatal(mess ...interface{})
- func (l *MacaroniCtlLogger) GetAurora() aurora.Aurora
- func (l *MacaroniCtlLogger) Info(mess ...interface{})
- func (l *MacaroniCtlLogger) InfoC(mess ...interface{})
- func (l *MacaroniCtlLogger) InitLogger2File() error
- func (l *MacaroniCtlLogger) Msg(level string, withoutColor, ln bool, msg ...interface{})
- func (l *MacaroniCtlLogger) SetAsDefault()
- func (l *MacaroniCtlLogger) Warning(mess ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MacaroniCtlLogger ¶
type MacaroniCtlLogger struct { Config *specs.MacaroniCtlConfig Logger *zap.Logger Aurora aurora.Aurora }
func GetDefaultLogger ¶
func GetDefaultLogger() *MacaroniCtlLogger
func NewMacaroniCtlLogger ¶
func NewMacaroniCtlLogger(config *specs.MacaroniCtlConfig) *MacaroniCtlLogger
func (*MacaroniCtlLogger) Debug ¶
func (l *MacaroniCtlLogger) Debug(mess ...interface{})
func (*MacaroniCtlLogger) DebugC ¶
func (l *MacaroniCtlLogger) DebugC(mess ...interface{})
func (*MacaroniCtlLogger) Error ¶
func (l *MacaroniCtlLogger) Error(mess ...interface{})
func (*MacaroniCtlLogger) Fatal ¶
func (l *MacaroniCtlLogger) Fatal(mess ...interface{})
func (*MacaroniCtlLogger) GetAurora ¶
func (l *MacaroniCtlLogger) GetAurora() aurora.Aurora
func (*MacaroniCtlLogger) Info ¶
func (l *MacaroniCtlLogger) Info(mess ...interface{})
func (*MacaroniCtlLogger) InfoC ¶
func (l *MacaroniCtlLogger) InfoC(mess ...interface{})
func (*MacaroniCtlLogger) InitLogger2File ¶
func (l *MacaroniCtlLogger) InitLogger2File() error
func (*MacaroniCtlLogger) Msg ¶
func (l *MacaroniCtlLogger) Msg(level string, withoutColor, ln bool, msg ...interface{})
func (*MacaroniCtlLogger) SetAsDefault ¶
func (l *MacaroniCtlLogger) SetAsDefault()
func (*MacaroniCtlLogger) Warning ¶
func (l *MacaroniCtlLogger) Warning(mess ...interface{})
Click to show internal directories.
Click to hide internal directories.