Documentation ¶
Index ¶
- Variables
- func APIUrl(value types.APIurl) typelog.LogType
- func Args(value []string) typelog.LogType
- func Body(value []byte) typelog.LogType
- func ChannelID(value types.DiscordChannelID) typelog.LogType
- func ChannelIDs(value []types.DiscordChannelID) typelog.LogType
- func Dbpath(value types.Dbpath) typelog.LogType
- func DiscordMessage(value string) typelog.LogType
- func DiscordMessageID(value types.DiscordMessageID) typelog.LogType
- func ErrorMsg(value string) typelog.LogType
- func GormResult(result *gorm.DB) typelog.LogType
- func MessageID(value types.DiscordMessageID) typelog.LogType
- func MsgContent(value string) typelog.LogType
- func OwnerID(value types.DiscordOwnerID) typelog.LogType
- func PingMessage(value types.PingMessage) typelog.LogType
- func Post(value *forum_types.Post) typelog.LogType
- func Records[T any](value []T) typelog.LogType
- func ScrappyLoopDelay(value types.ScrappyLoopDelay) typelog.LogType
- func ShortenedMsg(msg string) string
- func Tag(value types.Tag) typelog.LogType
- func Tags(value []types.Tag) typelog.LogType
- func Thread(value *forum_types.LatestThread) typelog.LogType
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *typelog.Logger = typelog.NewLogger("darkbot")
Functions ¶
func ChannelIDs ¶
func ChannelIDs(value []types.DiscordChannelID) typelog.LogType
func DiscordMessage ¶
func DiscordMessageID ¶
func DiscordMessageID(value types.DiscordMessageID) typelog.LogType
func MsgContent ¶ added in v1.6.2
func PingMessage ¶
func PingMessage(value types.PingMessage) typelog.LogType
func ScrappyLoopDelay ¶
func ScrappyLoopDelay(value types.ScrappyLoopDelay) typelog.LogType
func ShortenedMsg ¶ added in v1.6.2
func Thread ¶
func Thread(value *forum_types.LatestThread) typelog.LogType
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.