package
0.6.2
Repository: https://github.com/wneessen/go-mail.git
Documentation: pkg.go.dev

# Functions

New returns a new Stdlog type that satisfies the Logger interface.
NewJSON returns a new JSONlog type that satisfies the Logger interface.

# Constants

CallDepth is the call depth value for the log.Logger's Output method This defaults to 2 and is only here for better readablity of the code.
Client to Server communication.
DirFromString is a constant used for the structured logger.
Server to Client communication.
DirString is a constant used for the structured logger.
DirToString is a constant used for the structured logger.
LevelDebug is the Level for DEBUG and higher log messages.
LevelError is the Level for only ERROR log messages.
LevelInfo is the Level for INFO and higher log messages.
LevelWarn is the Level for WARN and higher log messages.

# Structs

JSONlog is the default structured JSON logger that satisfies the Logger interface.
Log represents a log message type that holds a log Direction, a Format string and a slice of Messages.
Stdlog is the default logger that satisfies the Logger interface.

# Interfaces

Logger is the log interface for go-mail.

# Type aliases

Direction is a type wrapper for the direction a debug log message goes.
Level is a type wrapper for an int.