New logger class to use logger levels