have logger() write logs to the profiler console