Logger class. Api package