Class TaggedRALogger
A release aware logger which supports tags.
public sealed class TaggedRALogger
- Inheritance
-
objectTaggedRALogger
Constructors
TaggedRALogger(string)
public TaggedRALogger(string tag)
Parameters
tag
stringThe logger tag.
TaggedRALogger(string, ILogHandler)
public TaggedRALogger(string tag, ILogHandler logHandler)
Parameters
tag
stringThe logger tag.
logHandler
ILogHandlerThe log handler to use.
Methods
Log(LogType, string, params object[])
Logs a formatted message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void Log(LogType logType, string format, params object[] args)
Parameters
logType
LogTypeThe type of the log.
format
stringThe format string.
args
object[]The format arguments.
Log(object)
Logs a message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void Log(object message)
Parameters
message
objectThe message object.
Log(string, params object[])
Logs a formatted message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void Log(string format, params object[] args)
Parameters
format
stringThe format string.
args
object[]The format arguments.
LogError(object)
Logs an error message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void LogError(object message)
Parameters
message
objectThe message object.
LogError(string, params object[])
Logs a formatted error message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void LogError(string format, params object[] args)
Parameters
format
stringThe format string.
args
object[]The format arguments.
LogWarning(object)
Logs a warning message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void LogWarning(object message)
Parameters
message
objectThe message object.
LogWarning(string, params object[])
Logs a formatted warning message in development builds.
[Conditional("DEBUG")]
[Conditional("ULOGGERS_ALWAYS_LOG")]
public void LogWarning(string format, params object[] args)
Parameters
format
stringThe format string.
args
object[]The format arguments.