Table of Contents

Class Logger

Namespace
WitShells.WitPose
public static class Logger
Inheritance
Logger
Inherited Members

Properties

IsLoggingEnabled

public static bool IsLoggingEnabled { get; set; }

Property Value

bool

Methods

Log(string)

Log an info message if logging is enabled

public static void Log(string message)

Parameters

message string

Log(string, params object[])

Log an info message with formatted string if logging is enabled

public static void Log(string format, params object[] args)

Parameters

format string
args object[]

LogError(string)

Log an error message (always shown regardless of logging setting)

public static void LogError(string message)

Parameters

message string

LogError(string, params object[])

Log an error message with formatted string (always shown regardless of logging setting)

public static void LogError(string format, params object[] args)

Parameters

format string
args object[]

LogWarning(string)

Log a warning message if logging is enabled

public static void LogWarning(string message)

Parameters

message string

LogWarning(string, params object[])

Log a warning message with formatted string if logging is enabled

public static void LogWarning(string format, params object[] args)

Parameters

format string
args object[]