class logs
no more logger global variable