Table of Contents

Class TaggedRALogger

A release aware logger which supports tags.

public sealed class TaggedRALogger
Inheritance
object
TaggedRALogger

Constructors

TaggedRALogger(string)

public TaggedRALogger(string tag)

Parameters

tag string

The logger tag.

TaggedRALogger(string, ILogHandler)

public TaggedRALogger(string tag, ILogHandler logHandler)

Parameters

tag string

The logger tag.

logHandler ILogHandler

The 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 LogType

The type of the log.

format string

The 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 object

The 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 string

The 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 object

The 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 string

The 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 object

The 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 string

The format string.

args object[]

The format arguments.