class.error function console.error output Debug.error() console.error output Returns {function()} Returns this.logFactory with the type