Documentation
¶
Index ¶
- type LogImpl
- func (l *LogImpl) Args(args ...LoggerArg) []pterm.LoggerArgument
- func (l *LogImpl) Debug(msg string, args ...LoggerArg)
- func (l *LogImpl) Error(msg string, args ...LoggerArg)
- func (l *LogImpl) Fatal(msg string, args ...LoggerArg)
- func (l *LogImpl) Info(msg string, args ...LoggerArg)
- func (l *LogImpl) Trace(msg string, args ...LoggerArg)
- func (l *LogImpl) Warn(msg string, args ...LoggerArg)
- type LoggerArg
- type LoggerInterface
- type LoggerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerInterface ¶
type LoggerInterface interface { Trace(msg string, args ...LoggerArg) Debug(msg string, args ...LoggerArg) Info(msg string, args ...LoggerArg) Warn(msg string, args ...LoggerArg) Error(msg string, args ...LoggerArg) Fatal(msg string, args ...LoggerArg) Args(args ...LoggerArg) []pterm.LoggerArgument }
func NewLogger ¶
func NewLogger(options LoggerOptions) LoggerInterface
type LoggerOptions ¶
Click to show internal directories.
Click to hide internal directories.