Added a extra constructor for the Logger