I created the simple logger.

작성자

카테고리:

← 피드로
DEV Community · Mikhail Diesperov · 2026-06-27 개발(SW)

Mikhail Diesperov

lg logger
I wrote a logger that is as simple as possible, suitable as a replacement for the standard logger, because it works on its basis. It can’t compare with zap and logrus, it just adds the convenience of using the standard log.

It is very convenient if you do not need to drag zap, logrus with you, but just make go get and use it as log, only write lg (which is even shorter) and with error levels, backlight. The backlight can be turned off with one function.

The tests are written, the linter is there, CI/CD is configured, the license is described. Perhaps it will be useful to someone.

Top comments (0)

Code of ConductReport abuse

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다