Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-logger

This is a tiny Go logger for Numelon projects. It is Numelon Nuxis compatible.

It has concurrent-safe writes, coloured terminal output for fun during development, plain output, and systemd-journald output with the correct priorities.

Usage

Look at the source code, it is short enough and straightforward to grasp.

Configuration

Logging by itself is safe to use concurrently. Configuration on the other hand with SetLevel, SetWriter, and SetOutputMode are NOT mutable concurrent state.

Configure the logger once during initialisation, before starting any concurrent logging, and then leave it alone.

About

A simple, customisable logger for Go applications.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages