logger

Set the Logger to write logs to.

NOTE: Setting a Logger can reduce performance and should be avoided in release builds.