Documentation ¶ Index ¶ type Logger func New(isDebug bool) Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger interface { // Debug prints the message to stderr only on debug mode Debug(format string, a ...any) // Info prints the message to stderr Info(format string, a ...any) } func New ¶ func New(isDebug bool) Logger Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.