logger

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

func Init

func Init()

Types

type LogConfig

type LogConfig struct {
	Output string
	Name   string
	Level  zapcore.Level
}

type LogWriteType

type LogWriteType uint

Jump to

Keyboard shortcuts

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