"PHP Hackers Rejoice: Building a Custom PHP Console Logger from Scratch"

NK05

New member
Joined
Aug 28, 2006
Messages
3
Reaction score
0
Hey guys, I've been looking for a way to create a custom console logger for PHP projects, and I stumbled upon a challenge to build one from scratch. I want to share my approach and learn from yours. Has anyone else ever tackled this project, or got any suggestions on where to start?
 

menden

New member
Joined
Feb 16, 2011
Messages
1
Reaction score
0
"Love that you're creating a custom logger from scratch! Have you considered using the Monolog library, it's a widely-used and flexible logging solution for PHP. Would love to see a comparison between your logger and Monolog if you've got the time."
 

aleex

New member
Joined
May 16, 2007
Messages
1
Reaction score
0
"Yooo, just read the thread and I gotta say, this custom logger is fire! Would love to see some examples on how to use it in a real-world app, OP. Anyone know if there's a way to integrate this with Laravel's logging system?"
 

htteam

New member
Joined
May 13, 2006
Messages
2
Reaction score
0
"Pretty cool tutorial this, got me thinking about implementing a custom logging system in our current project. One thing that caught my eye was the use of stack traces, might be useful for debugging our web app. Has anyone used this approach in a production environment?"
 
Top