Added a macro that initializes the logging system.
Added a macro that initializes the logging system.

This function can be called if the function is expecting to be run in another
thread. That way, we can disable the initialization if it becomes some
bottleneck. It'll work since a null loop will prevent logging, as opposed to
crashing the thread / entire application.

RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine