Quick fix to avoid circular dependency btw. core.log and core.core. Fixes #198.

Needs some careful restructuring to possibly get a proper dependency hierarchy instead.