Documentation
¶
Index ¶
- Constants
- type IconLogger
- func (il *IconLogger) Ctx(_ context.Context) helpers.ILogger
- func (il *IconLogger) Debug(msg string, details ...helpers.IDetails)
- func (il *IconLogger) Error(msg string, details ...helpers.IDetails)
- func (il *IconLogger) Fatal(msg string, details ...helpers.IDetails)
- func (il *IconLogger) GetLevel() string
- func (il *IconLogger) GetWriter() *os.File
- func (il *IconLogger) Info(msg string, details ...helpers.IDetails)
- func (il *IconLogger) LoggerName() string
- func (il *IconLogger) PauseSpinner()
- func (il *IconLogger) ResumeSpinner()
- func (il *IconLogger) SetLevel(level string) error
- func (il *IconLogger) SetWriter(w *os.File)
- func (il *IconLogger) Start(msg string, details ...helpers.IDetails)
- func (il *IconLogger) StartSpinner(w *os.File, message string)
- func (il *IconLogger) StopError(msg string, details ...helpers.IDetails)
- func (il *IconLogger) StopSpinner(message string)
- func (il *IconLogger) StopSuccess(msg string, details ...helpers.IDetails)
- func (il *IconLogger) Success(msg string, details ...helpers.IDetails)
- func (il *IconLogger) Warning(msg string, details ...helpers.IDetails)
Constants ¶
View Source
const LoggerName string = "icon"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IconLogger ¶
type IconLogger struct {
// contains filtered or unexported fields
}
func NewIconLogger ¶
func NewIconLogger() *IconLogger
func (*IconLogger) GetLevel ¶
func (il *IconLogger) GetLevel() string
func (*IconLogger) GetWriter ¶
func (il *IconLogger) GetWriter() *os.File
func (*IconLogger) LoggerName ¶
func (il *IconLogger) LoggerName() string
func (*IconLogger) PauseSpinner ¶
func (il *IconLogger) PauseSpinner()
func (*IconLogger) ResumeSpinner ¶
func (il *IconLogger) ResumeSpinner()
func (*IconLogger) SetLevel ¶
func (il *IconLogger) SetLevel(level string) error
func (*IconLogger) SetWriter ¶
func (il *IconLogger) SetWriter(w *os.File)
func (*IconLogger) StartSpinner ¶
func (il *IconLogger) StartSpinner(w *os.File, message string)
func (*IconLogger) StopError ¶
func (il *IconLogger) StopError(msg string, details ...helpers.IDetails)
func (*IconLogger) StopSpinner ¶
func (il *IconLogger) StopSpinner(message string)
func (*IconLogger) StopSuccess ¶
func (il *IconLogger) StopSuccess(msg string, details ...helpers.IDetails)
Click to show internal directories.
Click to hide internal directories.