logger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logger contains interface for logger which allows easy switching between logger implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log() logr.Logger

func New

func New(level int, formatter string)

Types

type AWSLogger

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

AWSLogger implements aws.Logger interface.

func NewAWSLogger

func NewAWSLogger(logger logr.Logger) AWSLogger

NewAWSLogger returns new instance of Logger, with logger as implementation.

func (AWSLogger) Log

func (l AWSLogger) Log(keysAndValues ...interface{})

Log is a method that implements aws.Logger interface.

Jump to

Keyboard shortcuts

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