updated internal log stream handling
moved emit_error handling from Output to EventRouter so that it works when Output#emit is called directly, not through #emits
Agent: supports log_level parameter #200