logmgr

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package logmgr implements to handle log files and log format

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstance

func GetInstance() *logrus.Logger

GetInstance returns an instance of the logmgr

func GetLogLevel added in v1.1.0

func GetLogLevel() logrus.Level

GetLogLevel returns the logging level

func InitLogfile

func InitLogfile(logFilePath string)

InitLogfile sets the environments for a log file

func SanitizeUserInput added in v1.1.4

func SanitizeUserInput(input string) string

SanitizeUserInput - countermeasure against the insertion of fake log entries by an attacker

Types

This section is empty.

Jump to

Keyboard shortcuts

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