Documentation ¶
Overview ¶
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
Constants ¶
View Source
const ( LOG_MAIN = "MA" LOG_IMAPASSASSIN = "IA" LOG_SPAMASSASSIN = "SA" LOG_PERSISTENCE = "PI" LOG_IMAP = "IM" )
Variables ¶
This section is empty.
Functions ¶
func InitLogging ¶
func InitLogging(loglevel string)
func SetLogLevel ¶
func SetLogLevel(loglevel string)
Types ¶
type PrefixLogger ¶
type PrefixLogger struct {
// contains filtered or unexported fields
}
func NewPrefixLogger ¶
func NewPrefixLogger(prefix string) *PrefixLogger
Click to show internal directories.
Click to hide internal directories.