Categorygithub.com/haproxytech/go-logger
modulepackage
1.1.0
Repository: https://github.com/haproxytech/go-logger.git
Documentation: pkg.go.dev

# README

HAProxy

Go Logger

Contributors License

Description

Go Logger is an interface for logging in Go programing language. Beside interface it also provides option to create a logger that can log to multiple destinations

Using multiple loggers at the same time

import (
  ...
  logger "github.com/haproxytech/go-logger"
  ...
)

log1 := // create log1
log2 := // create log2

log := logger.New(log1, log2)

log.Print("Printing to two different loggers")

Contributing

Thanks for your interest in the project and your willing to contribute:

Discussion

A Github issue is the right place to discuss feature requests, bug reports or any other subject that needs tracking.

To ask questions, get some help or even have a little chat, you can join our #ingress-controller channel in HAProxy Community Slack.

License

Apache License 2.0

# Packages

No description provided by the author

# Functions

Convert converts all `higher` level messages to a loglevel ones.
limits printing only above threashold.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author