logging

package
v0.0.0-...-73f03d9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Infof(format string, args ...interface{})
	Debugf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})

	Info(format string, args ...interface{})
	Warn(format string, args ...interface{})
	Debug(format string, args ...interface{})
	Error(format string, args ...interface{})
	Fatal(format string, args ...interface{})

	Print(args ...interface{})
	Audit(auditType, operation, status, user, format string, args ...interface{})
}

func NewLogger

func NewLogger() Logger

type Logging

type Logging struct {
}

func (*Logging) Audit

func (l *Logging) Audit(auditType, operation, status, user, format string, args ...interface{})

func (*Logging) Debug

func (l *Logging) Debug(format string, args ...interface{})

func (*Logging) Debugf

func (l *Logging) Debugf(format string, args ...interface{})

func (*Logging) Error

func (l *Logging) Error(format string, args ...interface{})

func (*Logging) Errorf

func (l *Logging) Errorf(format string, args ...interface{})

func (*Logging) Fatal

func (l *Logging) Fatal(format string, args ...interface{})

func (*Logging) Fatalf

func (l *Logging) Fatalf(format string, args ...interface{})

func (*Logging) Info

func (l *Logging) Info(format string, args ...interface{})

func (*Logging) Infof

func (l *Logging) Infof(format string, args ...interface{})

func (*Logging) Print

func (l *Logging) Print(args ...interface{})

func (*Logging) Warn

func (l *Logging) Warn(format string, args ...interface{})

Jump to

Keyboard shortcuts

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