Fixed bug where the log level could only be set after creating an emitter