Refactoring: merging LogHelper and Logger