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
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")
Thanks for your interest in the project and your willing to contribute:
- Pull requests are welcome!
- For commit messages and general style please follow the haproxy project's CONTRIBUTING guide and use that where applicable.
- Please use
golangci-lint run
from github.com/golangci/golangci-lint for linting code.
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.