Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Test CodeQL Apache-2.0

eslog

Lightweight, structured logger for Go projects. It basically adds some functions to slog which I found missing (e.g. log*f functions and a logFatal function known from standard log package.). Slog is wrapped inside eslog so you can do everything which is possible with slog.

Note
This project is intended to not have any dependencies.

Install

go get github.com/steffakasid/eslog@latest

Quick start

link:./examples/main.go[role=include]

Configuration

  • log.level: debug|info|warn|error

  • log.format: json|text

  • output (optional): file path or stdout/stderr

Contributing

PRs welcome. Please follow gofmt and golangci-lint rules.

License

Apache v2

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages