oarklog

package
v0.0.0-...-dbde7e4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package oarklog provides a No-Operation logger

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() log.Logger

Default creates a no-op logger

func New

func New(logr oarkLog.Logger) log.Logger

New creates a no-op logger

Types

type OarkLog

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

func (*OarkLog) Debug

func (logger *OarkLog) Debug(msg string, keyvals ...interface{})

Debug logs key-values at debug level

func (*OarkLog) Error

func (logger *OarkLog) Error(msg string, keyvals ...interface{})

Error logs key-values at error level

func (*OarkLog) Info

func (logger *OarkLog) Info(msg string, keyvals ...interface{})

Info logs key-values at info level

func (*OarkLog) Panic

func (logger *OarkLog) Panic(msg string, keyvals ...interface{})

func (*OarkLog) Warn

func (logger *OarkLog) Warn(msg string, keyvals ...interface{})

Warn logs key-values at warn level

func (*OarkLog) With

func (logger *OarkLog) With(keyvals ...interface{}) log.Logger

With adds key-values

Jump to

Keyboard shortcuts

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