Version 2.1.0.0

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

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.