Go to file
Василий Толстов 57225055c7
build / test (push) Failing after 1m28s Details
build / lint (push) Failing after 2m37s Details
codeql / analyze (go) (push) Failing after 3m13s Details
Merge pull request 'update for latest micro changes' (#113) from microv4 into master
Reviewed-on: #113
2023-08-15 07:51:49 +03:00
.github chore(deps): bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 (#100) 2023-01-30 21:21:06 +03:00
.gitignore add LICENSE 2021-01-10 15:39:57 +03:00
.synced update micro to v3.1.3 2021-01-19 23:05:03 +03:00
LICENSE add LICENSE 2021-01-10 15:39:57 +03:00
README.md use own fork 2021-01-10 15:34:37 +03:00
go.mod update for latest micro changes 2023-08-15 07:51:31 +03:00
go.sum update for latest micro changes 2023-08-15 07:51:31 +03:00
options.go update for latest micro changes 2023-08-15 07:51:31 +03:00
zerolog.go update for latest micro changes 2023-08-15 07:51:31 +03:00
zerolog_test.go move to micro v4 2023-05-07 18:57:50 +03:00

README.md

Zerolog

Zerolog logger implementation for go-micro meta logger.

Usage

func ExampleWithOut() {
  logger.DefaultLogger = zerolog.NewLogger(logger.WithOutput(os.Stdout), logger.WithLevel(logger.DebugLevel))

  logger.Infof(logger.InfoLevel, "testing: %s", "Infof")

  // Output:
  // {"level":"info","message":"testing: Infof"}
}