Added logger-logic
Class "printlogs" added