jlog

package module
v0.0.0-...-3805b8c Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: GPL-3.0 Imports: 4 Imported by: 7

README

jlog

Library for logging to the systemd journal from github.com/Masterminds/log-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Types

type Logger

type Logger struct {
	Level int
}

func NewJournal

func NewJournal(level int) *Logger

func (Logger) Debug

func (l Logger) Debug(msg ...interface{})

func (Logger) Debugf

func (l Logger) Debugf(template string, args ...interface{})

func (Logger) Debugw

func (l Logger) Debugw(msg string, fields log.Fields)

func (Logger) Error

func (l Logger) Error(msg ...interface{})

func (Logger) Errorf

func (l Logger) Errorf(template string, args ...interface{})

func (Logger) Errorw

func (l Logger) Errorw(msg string, fields log.Fields)

func (Logger) Fatal

func (l Logger) Fatal(msg ...interface{})

func (Logger) Fatalf

func (l Logger) Fatalf(template string, args ...interface{})

func (Logger) Fatalw

func (l Logger) Fatalw(msg string, fields log.Fields)

func (Logger) Info

func (l Logger) Info(msg ...interface{})

func (Logger) Infof

func (l Logger) Infof(template string, args ...interface{})

func (Logger) Infow

func (l Logger) Infow(msg string, fields log.Fields)

func (Logger) Panic

func (l Logger) Panic(msg ...interface{})

func (Logger) Panicf

func (l Logger) Panicf(template string, args ...interface{})

func (Logger) Panicw

func (l Logger) Panicw(msg string, fields log.Fields)

func (Logger) Trace

func (l Logger) Trace(msg ...interface{})

func (Logger) Tracef

func (l Logger) Tracef(template string, args ...interface{})

func (Logger) Tracew

func (l Logger) Tracew(msg string, fields log.Fields)

func (Logger) Warn

func (l Logger) Warn(msg ...interface{})

func (Logger) Warnf

func (l Logger) Warnf(template string, args ...interface{})

func (Logger) Warnw

func (l Logger) Warnw(msg string, fields log.Fields)

Jump to

Keyboard shortcuts

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