Welcome to mirror list, hosted at ThFree Co, Russian Federation.

doc.go « log « labkit « gitlab-org « gitlab.com « vendor - gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3c7c27696bf54d790c2a40c414ab418b0677973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
Package log provides sensible logging defaults for Labkit.

Labkit uses Logrus for logging.

Applications that use Labkit should rely directly on Labkit.

This package provides some utility methods for working with Labkit, including:

1. Initialize Logrus in a consistent manner
1. Using GitLab's defaults with logrus
1. Passing correlation-ids between contexts and logrus

Please review the examples for more details of how to use this package.
*/
package log