Updated the logger so that it can have extensions plugged into it