rewrited Logger