Documentation
¶
Index ¶
- type GeneralLog
- func (l *GeneralLog) Box(ctx context.Context, title string, lines string)
- func (l *GeneralLog) Debug(ctx context.Context, msg string, args ...any)
- func (l *GeneralLog) Error(msg string, args ...any)
- func (l *GeneralLog) ExternalLogHandler(ctx context.Context, msgType logger.CustomExternalLogLevel, message string)
- func (l *GeneralLog) ExternalLogHandlerf(ctx context.Context, msgType logger.CustomExternalLogLevel, format string, ...)
- func (l *GeneralLog) NewError(ctx context.Context, msg string, args ...any) error
- func (l *GeneralLog) Note(ctx context.Context, msg string, args ...any)
- func (l *GeneralLog) Print(ctx context.Context, msg string, args ...any)
- func (l *GeneralLog) Success(ctx context.Context, msg string, args ...any)
- func (l *GeneralLog) Table(ctx context.Context, headers []string, data [][]string)
- func (l *GeneralLog) Warn(ctx context.Context, msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralLog ¶
type GeneralLog struct {
// contains filtered or unexported fields
}
func (*GeneralLog) Error ¶
func (l *GeneralLog) Error(msg string, args ...any)
func (*GeneralLog) ExternalLogHandler ¶
func (l *GeneralLog) ExternalLogHandler(ctx context.Context, msgType logger.CustomExternalLogLevel, message string)
func (*GeneralLog) ExternalLogHandlerf ¶
func (l *GeneralLog) ExternalLogHandlerf(ctx context.Context, msgType logger.CustomExternalLogLevel, format string, args ...interface{})
func (*GeneralLog) Success ¶
func (l *GeneralLog) Success(ctx context.Context, msg string, args ...any)
Click to show internal directories.
Click to hide internal directories.