Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LogException(Exception, Object)

A variant of ILogHandler.LogFormat that logs an exception message.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
void LogException(Exception exception, Object context)

Parameters

exception

Runtime Exception.

context

Object to which the message applies.