Skip to content

haproxytech/go-logger

Repository files navigation

HAProxy

Go Logger

made-with-Go Github tag CI Go Report Card GoDoc reference example go.mod Go version 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

About

Go package that provides interface for logging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages