Bugfix LOG() for environments without console