Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #15 from strvcom/chore/codecov
Browse files Browse the repository at this point in the history
docs: add badges
  • Loading branch information
Tomáš Kocman authored Aug 17, 2022
2 parents bc74c32 + f7d711a commit 83b3c8e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# STRV logging

![Latest release][release]
[![codecov][codecov-img]][codecov]
![GitHub][license]

This repository contains wrappers and customisations of existing logging libraries.

## Available packages
Expand Down Expand Up @@ -29,3 +34,8 @@ func main() {
Under the hood, `zap production config` is created based on the provided configuration. The resulting logger created from this config is returned.
Instead of `ts` with the current timestamp, the logger has set `ts` field with UTC time encoded in `RFC3339`.
If an app is built with the `dev` build tag, the `CapitalColorLevelEncoder` is used. It's handy for development purposes to easily navigate in colorful log lines.

[release]: https://img.shields.io/github/v/release/strvcom/strv-backend-go-logging
[codecov]: https://codecov.io/gh/strvcom/strv-backend-go-logging
[codecov-img]: https://codecov.io/gh/strvcom/strv-backend-go-logging/branch/master/graph/badge.svg?token=EKTUNEFK67
[license]: https://img.shields.io/github/license/strvcom/strv-backend-go-logging

0 comments on commit 83b3c8e

Please sign in to comment.