Logger object using loglevel