I would like to use Mojolicious' Mojo::Log
tool to do logging in my Mojolicious web application. However, I am unsure of the proper/correct way to use it.
The documentation shows it used directly from the script, but fails to say if it's thread-safe or safe to share between controllers, or if each controller should instantiate its own Mojo::Log
object (and in that case, will it be safe for all of them to point to the same log file?).
What is the correct way to use this logger?