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

# Packages

No description provided by the author

# 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