Quick, Go check the Logs! - Go / Golang Logging Tutorial

Опубликовано: 29 Сентябрь 2024
на канале: Donald Feury
14,076
280

🎨 Artist/Thumbnail Creator: https://jawhaj.art
📝 Blog: https://donaldfeury.xyz/topics
👥Memberships: https://vod.strms.net/j/UCTHij3Ac5Giz...

🖥 Example Code - https://gitlab.com/dak425/go-logging-...

Go has a standard logger built into the standard language packages to satisfy simple logging needs, such as sending to stderr or writing information to a file.
If you want some additional features, there are a few good logging frameworks you can leverage. One called logrus, has the ability to format your log output as JSON.

Logrus: https://github.com/Sirupsen/logrus

THANK YOU ###
Newest Channel Member -
Newest Subscriber - Phillip Lineburg

WANT TO SUPPORT THE CHANNEL? ###
💰 Support Links: https://donaldfeury.xyz/donate

WANT TO ASK ME A QUESTION? ###
💬 Contact Me: https://donaldfeury.xyz/contact

SOCIAL PLATFORMS ###
🗣 Matrix: https://donaldfeury.xyz/matrix
💬 Pleroma: https://donaldfeury.xyz/pleroma
🗨️ Discord: https://donaldfeury.xyz/discord
🐦 Twitter: https://donaldfeury.xyz/twitter

VIDEO PLATFORMS ###
🎦 Twitch: https://donaldfeury.xyz/twitch
🎥 Odysee: https://donaldfeury.xyz/odysee

OTHER THINGS ###
📁 GitLab: https://donaldfeury.xyz/gitlab
🎥 My Gear: https://kit.co/dfeury

SOFTWARE I USE ###
🌐 Brave Browser - https://brave.com/
🎞 ffmpeg: https://ffmpeg.org/
📽️ Open Broadcaster Software: https://obsproject.com/
🎨 GIMP: https://www.gimp.org/
📙 Neovim: https://neovim.io/

Thank ya'll for your time and support!

#golang #logging #logrus