Added simple debug logger