Documentation
¶
Index ¶
- type LoggerClient
- func (self LoggerClient) Debug(text string, data map[string]any) error
- func (self LoggerClient) Error(text string, data map[string]any) error
- func (self LoggerClient) Info(text string, data map[string]any) error
- func (self LoggerClient) Log(level models.LogLevel, text string, data map[string]any) error
- func (self LoggerClient) Warn(text string, data map[string]any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerClient ¶
type LoggerClient struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(name string) *LoggerClient
Click to show internal directories.
Click to hide internal directories.