Class UnityEngineLogger
public class UnityEngineLogger : ILogger, IDisposable
- Inheritance
-
UnityEngineLogger
- Implements
- Inherited Members
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Log(string, string, int)
Logs a message.
public void Log(string className, string message, int lineNumber = 0)
Parameters
className
stringThe name of the class logging the message.
message
stringThe message to log.
lineNumber
intcaller line number
LogError(string, string, int)
Logs an error message.
public void LogError(string className, string message, int lineNumber = 0)
Parameters
className
stringThe name of the class logging the error message.
message
stringThe error message to log.
lineNumber
intcaller line number
LogException(string, Exception, int)
Logs an exception.
public void LogException(string className, Exception exception, int lineNumber = 0)
Parameters
className
stringThe name of the class logging the exception.
exception
ExceptionThe exception to log.
lineNumber
intcaller line number
LogWarning(string, string, int)
Logs a warning message.
public void LogWarning(string className, string message, int lineNumber = 0)