Version 3.3.1.2

CustomLogger class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization.Config
public class CustomLogger : ILogger
A helper class for quickly and easily defining custom loggers.
Inheritance
  • System.Object
  • CustomLogger
See Also
  • Sirenix.Serialization.ILogger

Constructors

CustomLogger(Action<String>, Action<String>, Action<Exception>)
Not yet documented.
public CustomLogger(Action<string> logWarningDelegate, Action<string> logErrorDelegate, Action<Exception> logExceptionDelegate)
Parameters
System.Action<System.String> logWarningDelegate

System.Action<System.String> logErrorDelegate

System.Action<System.Exception> logExceptionDelegate

Methods

LogError(String)
Not yet documented.
public void LogError(string error)
Parameters
System.String error

LogException(Exception)
Not yet documented.
public void LogException(Exception exception)
Parameters
System.Exception exception

LogWarning(String)
Not yet documented.
public void LogWarning(string warning)
Parameters
System.String warning