Class FakeLogger
Namespace: Tests
Syntax
public class FakeLogger : ILogger, ILogHandler
Properties
filterLogType
Declaration
public LogType filterLogType { get; set; }
Property Value
Implements
logEnabled
Declaration
public bool logEnabled { get; set; }
Property Value
Implements
logHandler
Declaration
public ILogHandler logHandler { get; set; }
Property Value
Implements
Methods
IsLogTypeAllowed(LogType)
Declaration
public bool IsLogTypeAllowed(LogType logType)
Parameters
Type |
Name |
Description |
LogType |
logType |
|
Returns
Implements
Log(Object)
Declaration
public void Log(object message)
Parameters
Type |
Name |
Description |
Object |
message |
|
Implements
Log(String, Object)
Declaration
public void Log(string tag, object message)
Parameters
Implements
Log(String, Object, Object)
Declaration
public void Log(string tag, object message, Object context)
Parameters
Implements
Log(LogType, Object)
Declaration
public void Log(LogType logType, object message)
Parameters
Implements
Log(LogType, Object, Object)
Declaration
public void Log(LogType logType, object message, Object context)
Parameters
Implements
Log(LogType, String, Object)
Declaration
public void Log(LogType logType, string tag, object message)
Parameters
Implements
Log(LogType, String, Object, Object)
Declaration
public void Log(LogType logType, string tag, object message, Object context)
Parameters
Implements
LogError(String, Object)
Declaration
public void LogError(string tag, object message)
Parameters
Implements
LogError(String, Object, Object)
Declaration
public void LogError(string tag, object message, Object context)
Parameters
Implements
LogException(Exception)
Declaration
public void LogException(Exception exception)
Parameters
Implements
LogException(Exception, Object)
Declaration
public void LogException(Exception exception, Object context)
Parameters
Implements
Declaration
public void LogFormat(LogType logType, string format, params object[] args)
Parameters
Implements
Declaration
public void LogFormat(LogType logType, Object context, string format, params object[] args)
Parameters
Implements
LogWarning(String, Object)
Declaration
public void LogWarning(string tag, object message)
Parameters
Implements
LogWarning(String, Object, Object)
Declaration
public void LogWarning(string tag, object message, Object context)
Parameters
Implements