logmanager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package logmanager add helper for logrus

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(logline string) error

Info logs an info event into the windows eventlog system

func Error

func Error(logline string) error

Error logs an error event into the windows eventlog system

func Fatal

func Fatal(logline string)

func Info

func Info(logline string, forceStdout ...bool) error

func SetLogLevel

func SetLogLevel(LogLevel string, exPath string, fileName string, maxSize int, maxBackups int, maxAge int, interactive bool, reportcaller bool, jsontostdout bool) error

SetLogLevel set logrus level

func StartWindowsEvent

func StartWindowsEvent(name string)

func Warning

func Warning(logline string) error

Warning logs an warning event into the windows eventlog system

func WithFields

func WithFields(s1 string, s2 string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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