logging

package
v0.0.0-...-1470ea3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PirriLogger

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

PirriLogger is the logging thing

func Service

func Service() *PirriLogger

Service returns logging service in a singleton

func (*PirriLogger) LoadJournalCtlLogs

func (l *PirriLogger) LoadJournalCtlLogs() []string

func (*PirriLogger) LogError

func (l *PirriLogger) LogError(message string, fields ...zapcore.Field)

LogError logs errors

func (*PirriLogger) LogEvent

func (l *PirriLogger) LogEvent(message string, fields ...zapcore.Field)

LogEvent logs events

Jump to

Keyboard shortcuts

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