class logger begin for show and set the logs