anchor.diff:  	var/cookieSent   = FALSE // Has the client sent a cookie for analysis
   	var/list/connectionHistory //Contains the connection history passed from chat cookie
   	var/broken       = FALSE
  +	var/static/debug_log
   
   /datum/chatOutput/New(client/C)
  +	if(!debug_log)
  +		debug_log = file("[GLOB.log_directory]/goonchat.log")
  +
   	owner = C
   	messageQueue = list()
   	connectionHistory = list()
  
positive.code: 	if(usr.client != owner)
  		return TRUE
  
  	// Build arguments.
  	// Arguments are in the form "param[paramname]=thing"
  	var/list/params = list()
  
negative.code: /datum/chatOutput/proc/debug(error)
  	log_world("\[[time2text(world.realtime, "YYYY-MM-DD hh:mm:ss")]\] Client: [(src.owner.key ? src.owner.key : src.owner)] triggered JS error: [error]")
  
  /datum/chatOutput/proc/Broke()
  	debug_log << "THE CHAT BROKE FOR [usr.client.ckey]"
  
  /client/verb/debug_chat()
  	set hidden = TRUE
  	chatOutput.ehjax_send(data = list("firebug" = TRUE))
  
  /client/verb/chat_broke()
  	chatOutput.Broke()
  
  //Global chat procs
  
  GLOBAL_LIST_EMPTY(bicon_cache)
  