discord_logger

package
v0.13.19 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WithDiscordEncoder

type WithDiscordEncoder struct {
	zapcore.Encoder
	// contains filtered or unexported fields
}

func NewWithDiscordEncoder

func NewWithDiscordEncoder(level zap.AtomicLevel, discord *discord_client.DiscordClient) *WithDiscordEncoder

func (*WithDiscordEncoder) EncodeEntry

func (e *WithDiscordEncoder) EncodeEntry(entry zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error)

Jump to

Keyboard shortcuts

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