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