Documentation ¶
Index ¶
- func Debug(message string, data any, args ...any)
- func DebugDump(obj interface{})
- func GetApplication() string
- func Info(message string, args ...any)
- func SetApplication(application string)
- func SetCollectionName(collectionName string)
- func SetDatabase(db *redisdb.RedisDB)
- func SetLogLevel(level LogLevel)
- func Warn(message string, args ...any)
- type HttpError
- type Log
- type LogDocument
- type LogLevel
- type LogMessage
- type LogStatus
- type LogTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApplication ¶
func GetApplication() string
func SetApplication ¶
func SetApplication(application string)
func SetCollectionName ¶
func SetCollectionName(collectionName string)
func SetDatabase ¶
func SetLogLevel ¶
func SetLogLevel(level LogLevel)
Types ¶
type HttpError ¶
type HttpError struct { Status LogStatus `json:"-"` Err LogMessage `json:"error"` }
type LogDocument ¶
type LogMessage ¶
Click to show internal directories.
Click to hide internal directories.