Class Logger
Assembly: LaunchDarkly.Logging.dll
Syntax
public sealed class Logger
Methods
Debug(object)
Declaration
public void Debug(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Debug(string, object)
Declaration
public void Debug(string format, object param)
Parameters
Debug(string, object, object)
Declaration
public void Debug(string format, object param1, object param2)
Parameters
Debug(string, params object[])
Declaration
public void Debug(string format, params object[] allParams)
Parameters
Error(object)
Declaration
public void Error(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Error(string, object, object)
Declaration
public void Error(string format, object param1, object param2)
Parameters
Error(string, params object[])
Declaration
public void Error(string format, params object[] allParams)
Parameters
Info(object)
Declaration
public void Info(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Info(string, object)
Declaration
public void Info(string format, object param)
Parameters
Info(string, object, object)
Declaration
public void Info(string format, object param1, object param2)
Parameters
Info(string, params object[])
Declaration
public void Info(string format, params object[] allParams)
Parameters
IsEnabled(LogLevel)
Declaration
public bool IsEnabled(LogLevel level)
Parameters
Returns
SubLogger(string)
Declaration
public Logger SubLogger(string nameSuffix)
Parameters
Type |
Name |
Description |
string |
nameSuffix |
|
Returns
Warn(object)
Declaration
public void Warn(object message)
Parameters
Type |
Name |
Description |
object |
message |
|
Warn(string, object)
Declaration
public void Warn(string format, object param)
Parameters
Warn(string, object, object)
Declaration
public void Warn(string format, object param1, object param2)
Parameters
Warn(string, params object[])
Declaration
public void Warn(string format, params object[] allParams)
Parameters
WithAdapter(ILogAdapter, string)
Declaration
public static Logger WithAdapter(ILogAdapter adapter, string name)
Parameters
Returns
error(string, object)
Declaration
public void error(string format, object param)
Parameters