Class Logger
The class for logging data.
Inheritance
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public static class Logger : object
Properties
| Improve this Doc View Sourceinitialized
Determines if a logger initialized.
Declaration
public static bool initialized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If set to |
Initialized
Determines if a logger initialized.
Declaration
public static bool Initialized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | If set to |
logIt
This action is executed when
Declaration
public static Action<string> logIt { get; set; }
Property Value
Type | Description |
---|---|
Action<System.String> | The action having the string as the parameter. |
LogIt
This action is executed when
Declaration
public static Action<string> LogIt { get; set; }
Property Value
Type | Description |
---|---|
Action<System.String> | The action having the string as the parameter. |
Methods
| Improve this Doc View Sourceinitialize(Action<String>)
Initializes a logger.
Declaration
public static void initialize(Action<string> logAction)
Parameters
Type | Name | Description |
---|---|---|
Action<System.String> | logAction | The action is being used for the callback pattern when some logging method was called. |
Initialize(Action<String>)
Initializes a logger.
Declaration
public static void Initialize(Action<string> logAction)
Parameters
Type | Name | Description |
---|---|---|
Action<System.String> | logAction | The action is being used for the callback pattern when some logging method was called. |
Log(Exception)
Logs
Declaration
public static void Log(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |
Log(String)
Logs a text string.
Declaration
public static void Log(String message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The text string. |
Log(Object)
Logs
Declaration
public static void Log(object message)
Parameters
Type | Name | Description |
---|---|---|
System.Object | message | The object. |