Show / Hide Table of Contents

Class Logger

Inheritance
Object
Logger
Implements
ILogger
ILogHandler
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class Logger : ILogger, ILogHandler

Constructors

| Improve this Doc View Source

Logger(ILogHandler)

Declaration
public Logger(ILogHandler logHandler)
Parameters
Type Name Description
ILogHandler logHandler

Properties

| Improve this Doc View Source

filterLogType

Declaration
public LogType filterLogType { get; set; }
Property Value
Type Description
LogType
| Improve this Doc View Source

logEnabled

Declaration
public bool logEnabled { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

logHandler

Declaration
public ILogHandler logHandler { get; set; }
Property Value
Type Description
ILogHandler

Methods

| Improve this Doc View Source

IsLogTypeAllowed(LogType)

Declaration
public bool IsLogTypeAllowed(LogType logType)
Parameters
Type Name Description
LogType logType
Returns
Type Description
Boolean
| Improve this Doc View Source

Log(Object)

Declaration
public void Log(object message)
Parameters
Type Name Description
Object message
| Improve this Doc View Source

Log(String, Object)

Declaration
public void Log(string tag, object message)
Parameters
Type Name Description
String tag
Object message
| Improve this Doc View Source

Log(String, Object, Object)

Declaration
public void Log(string tag, object message, Object context)
Parameters
Type Name Description
String tag
Object message
Object context
| Improve this Doc View Source

Log(LogType, Object)

Declaration
public void Log(LogType logType, object message)
Parameters
Type Name Description
LogType logType
Object message
| Improve this Doc View Source

Log(LogType, Object, Object)

Declaration
public void Log(LogType logType, object message, Object context)
Parameters
Type Name Description
LogType logType
Object message
Object context
| Improve this Doc View Source

Log(LogType, String, Object)

Declaration
public void Log(LogType logType, string tag, object message)
Parameters
Type Name Description
LogType logType
String tag
Object message
| Improve this Doc View Source

Log(LogType, String, Object, Object)

Declaration
public void Log(LogType logType, string tag, object message, Object context)
Parameters
Type Name Description
LogType logType
String tag
Object message
Object context
| Improve this Doc View Source

LogError(String, Object)

Declaration
public void LogError(string tag, object message)
Parameters
Type Name Description
String tag
Object message
| Improve this Doc View Source

LogError(String, Object, Object)

Declaration
public void LogError(string tag, object message, Object context)
Parameters
Type Name Description
String tag
Object message
Object context
| Improve this Doc View Source

LogException(Exception)

Declaration
public void LogException(Exception exception)
Parameters
Type Name Description
Exception exception
| Improve this Doc View Source

LogException(Exception, Object)

Declaration
public void LogException(Exception exception, Object context)
Parameters
Type Name Description
Exception exception
Object context
| Improve this Doc View Source

LogFormat(LogType, String, Object[])

Declaration
public void LogFormat(LogType logType, string format, params object[] args)
Parameters
Type Name Description
LogType logType
String format
Object[] args
| Improve this Doc View Source

LogFormat(LogType, Object, String, Object[])

Declaration
public void LogFormat(LogType logType, Object context, string format, params object[] args)
Parameters
Type Name Description
LogType logType
Object context
String format
Object[] args
| Improve this Doc View Source

LogWarning(String, Object)

Declaration
public void LogWarning(string tag, object message)
Parameters
Type Name Description
String tag
Object message
| Improve this Doc View Source

LogWarning(String, Object, Object)

Declaration
public void LogWarning(string tag, object message, Object context)
Parameters
Type Name Description
String tag
Object message
Object context

Implements

ILogger
ILogHandler

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX