Go Logging: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=External=
=Internal=
=Internal=
* [[Logging]]
*  [[Go Engineering#Subjects|Go Engineering]]
*  [[Go Engineering#Subjects|Go Engineering]]


Line 7: Line 8:
=Standard Library <tt>log</tt> Package=
=Standard Library <tt>log</tt> Package=
{{Internal|Go_Package_log|<tt>log</tt>}}
{{Internal|Go_Package_log|<tt>log</tt>}}
=Standard Library <tt>slog</tt> Package=
{{Internal|Go_Package_slog|<tt>slog</tt>}}


=glog=
=Open Source Logging Packages=
{{External|https://github.com/golang/glog}}
* [[zap]]
* https://github.com/rs/zerolog a lightweight and performant logger for Go, designed for high throughput and minimal allocation. Suited for applications with strict performance requirements.
* glog https://github.com/golang/glog
* [[sirupsen/logrus]]
 
=Idioms=
 
==Constant String Logging==
{{Internal|Sirupsen/logrus#Constant_String_Logging|logrus Constant String Logging}}
 
=Subjects=
* [[Colors and Special Text Effects in Go Logs#Overview|Colors and Special Text Effects in Go Logs]]

Latest revision as of 17:27, 4 September 2024

External

Internal

Overview

Standard Library log Package

log

Standard Library slog Package

slog

Open Source Logging Packages

Idioms

Constant String Logging

logrus Constant String Logging

Subjects