Added a log classe