Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Main *zap.SugaredLogger SSH *zap.SugaredLogger SFTP *zap.SugaredLogger FTP *zap.SugaredLogger TgBot *zap.SugaredLogger )
View Source
var Logs = []LogConfig{
{Output: "main.log", Name: "Main"},
{Output: "ssh.log", Name: "SSH"},
{Output: "sftp.log", Name: "SFTP"},
{Output: "ftp.log", Name: "FTP"},
{Output: "tgbot.log", Name: "TgBot"},
}
Functions ¶
Types ¶
type LogWriteType ¶
type LogWriteType uint
Click to show internal directories.
Click to hide internal directories.