[Logger] Create a class that initialize extraInfoFlag