Core/Log: Fix crash due to uninitialized variable