Go Logging: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(11 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>}} | |||
=Open Source Logging Packages= | |||
* [[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
Standard Library slog Package
Open Source Logging Packages
- 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