Documentation
¶
Index ¶
- Constants
- type LogEngine
- type LoggerAsync
- func (l *LoggerAsync) Close()
- func (l *LoggerAsync) Debug(threadName string, msg string, a ...any)
- func (l *LoggerAsync) Err(threadName string, msg string, a ...any)
- func (l *LoggerAsync) Info(threadName string, msg string, a ...any)
- func (l *LoggerAsync) Warn(threadName string, msg string, a ...any)
Constants ¶
View Source
const ( L_ERROR string = "ERROR" L_DEBUG string = "DEBUG" L_INFO string = "INFO" L_WARNING string = "WARNING" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerAsync ¶
type LoggerAsync struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, w io.WriteCloser, options *slog.HandlerOptions) *LoggerAsync
func (*LoggerAsync) Close ¶
func (l *LoggerAsync) Close()
Click to show internal directories.
Click to hide internal directories.