Custom logging

Hello,

I'm trying to create a custom logger for specific parts of my
application. I created a logger in one on my classes is the lib
directory and it works great for that class, but I would also like
other parts of my applilcation to write to the same log. Where/how
would I create the logger?

Thanks