logus

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Log *typelog.Logger = typelog.NewLogger("darkbot")

Functions

func APIUrl

func APIUrl(value types.APIurl) typelog.LogType

func Args

func Args(value []string) typelog.LogType

func Body

func Body(value []byte) typelog.LogType

func ChannelID

func ChannelID(value types.DiscordChannelID) typelog.LogType

func ChannelIDs

func ChannelIDs(value []types.DiscordChannelID) typelog.LogType

func Dbpath

func Dbpath(value types.Dbpath) typelog.LogType

func DiscordMessage

func DiscordMessage(value string) typelog.LogType

func DiscordMessageID

func DiscordMessageID(value types.DiscordMessageID) typelog.LogType

func ErrorMsg

func ErrorMsg(value string) typelog.LogType

func GormResult

func GormResult(result *gorm.DB) typelog.LogType

func MessageID

func MessageID(value types.DiscordMessageID) typelog.LogType

func MsgContent added in v1.6.2

func MsgContent(value string) typelog.LogType

func OwnerID

func OwnerID(value types.DiscordOwnerID) typelog.LogType

func PingMessage

func PingMessage(value types.PingMessage) typelog.LogType

func Post

func Post(value *forum_types.Post) typelog.LogType

func Records

func Records[T any](value []T) typelog.LogType

func ScrappyLoopDelay

func ScrappyLoopDelay(value types.ScrappyLoopDelay) typelog.LogType

func ShortenedMsg added in v1.6.2

func ShortenedMsg(msg string) string

func Tag

func Tag(value types.Tag) typelog.LogType

func Tags

func Tags(value []types.Tag) typelog.LogType

func Thread

func Thread(value *forum_types.LatestThread) typelog.LogType

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL