Returns pointer to global logger. The function allocates the logger if it does not exist yet.
Pointer to logger object.