logging

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorWriter

type ErrorWriter struct {
	Logger *Logger
}

func (*ErrorWriter) Write

func (e *ErrorWriter) Write(p []byte) (n int, err error)

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(cfg *configuration.Configuration) *Logger

func (*Logger) App

func (l *Logger) App(format string, v ...interface{})

func (*Logger) Build

func (l *Logger) Build(format string, v ...interface{})

func (*Logger) BuildError

func (l *Logger) BuildError(buildError string) error

func (*Logger) BuildLog

func (l *Logger) BuildLog() (*os.File, error)

func (*Logger) Detection

func (l *Logger) Detection(format string, v ...interface{})

func (*Logger) Main

func (l *Logger) Main(format string, v ...interface{})

func (*Logger) Run

func (l *Logger) Run(format string, v ...interface{})

func (*Logger) Sync

func (l *Logger) Sync(format string, v ...interface{})

type RunWriter

type RunWriter struct {
	Logger *Logger
}

func (*RunWriter) Write

func (rw *RunWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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