/
githubmirror
/
origin
Обзор
Документация
Войти
/
githubmirror
/
origin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
origin
/
...
/
rs
/
zerolog
/
..
internal
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
.gitignore
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
CONTRIBUTING.md
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
LICENSE
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
README.md
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
array.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
console.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
context.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
ctx.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
encoder.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
encoder_cbor.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
encoder_json.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
event.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
example.jsonl
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
fields.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
globals.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
go112.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
hook.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
log.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
not_go112.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
pretty.png
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
sampler.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
syslog.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
writer.go
Add compat_otp package with openshift-tests-private (OTP) util implementations
год назад
Zero Allocation JSON Logger
Who uses zerolog
Features
Installation
Getting Started
Simple Logging Example
Contextual Logging
Leveled Logging
Simple Leveled Logging Example
Setting Global Log Level
Logging without Level or Message
Error Logging
Error Logging with Stacktrace
Logging Fatal Messages
Create logger instance to manage different outputs
Sub-loggers let you chain loggers with additional context
Pretty logging
Sub dictionary
Customize automatic field names
Add contextual fields to the global logger
Add file and line number to log
Thread-safe, lock-free, non-blocking writer
Log Sampling
Hooks
Pass a sub-logger by context
Set as standard logger output
context.Context integration
Integration with `net/http`
Multiple Log Output
Global Settings
Field Types
Standard Types
Advanced Fields
Binary Encoding
Related Projects
Benchmarks
Caveats
Field duplication
Concurrency safety
README.md