all AI news
Solving Logs Woes: A Small Dive into Singleton Design Pattern
DEV Community dev.to
Originaly published on Python in Plain English Medium Publication
Photos credit: Saydung89 & Hitesh Choudhary
Recently, I’ve been working on a new feature for a Python software project. To make sure it’s solid, I thought it’d be a good idea to add logs using the “logging” Python package. It’s been really helpful because I can see what’s happening at every step of my program right in the console. It’s made tracking down bugs a lot easier.
Initially, I …
credit design designpatterns english feature good logging logs medium package pattern photos project publication python python package singleton small software solid thought