|
| Logger (string username, string password) |
| Constructor for a Logger object. Must be passed username and password strings to access and send requests via xAPI/TinCan.
|
|
void | AddLogToQueue (Statement statement) |
| Adds a log statement to the log queue. Log queue will be dispatched when the queue reaches 5 items in length.
|
|
void | DoSendAPI (string jsonData) |
| Constructs a TinCan.Statement object from a given string of json, then sends the statement to the API.
|
|
void | DoSendAPI (Statement statement) |
| Sends the specified statement call.
|
|
◆ Logger()
CerebrumLogger.Logger.Logger |
( |
string |
username, |
|
|
string |
password |
|
) |
| |
|
inline |
Constructor for a Logger object. Must be passed username and password strings to access and send requests via xAPI/TinCan.
- Parameters
-
◆ AddLogToQueue()
void CerebrumLogger.Logger.AddLogToQueue |
( |
Statement |
statement | ) |
|
|
inline |
Adds a log statement to the log queue. Log queue will be dispatched when the queue reaches 5 items in length.
- Parameters
-
◆ DoSendAPI() [1/2]
void CerebrumLogger.Logger.DoSendAPI |
( |
Statement |
statement | ) |
|
|
inline |
Sends the specified statement call.
- Parameters
-
◆ DoSendAPI() [2/2]
void CerebrumLogger.Logger.DoSendAPI |
( |
string |
jsonData | ) |
|
|
inline |
Constructs a TinCan.Statement object from a given string of json, then sends the statement to the API.
- Parameters
-
The documentation for this class was generated from the following file:
- D:/Documents/Git/Unity-xAPI-Wrapper/CerebrumPlugin/Src/Logger.cs