Base data logger.
More...
const bool & GetIsEnabled |
( |
| ) |
const |
|
inline |
const bool & GetIsEnabled |
( |
| ) |
|
|
inline |
const bool & GetTimeStamped |
( |
| ) |
const |
|
inline |
const bool & GetTimeStamped |
( |
| ) |
|
|
inline |
Perform to write the logged message in a locked context.
- Parameters
-
text | A text written before the data. (Can be NULL) |
data | the data. (Can be NULL) |
newLine | Write a new line at the end. |
timeStamp | Write a time stamp at the beginning |
Used by all Write methods, this call PerformWrite after having required the _criticalSection
void SetIsEnabled |
( |
const bool & |
value | ) |
|
|
inline |
Enable the logging.
- Parameters
-
[in] | value | The new parameter value. |
- Returns
- the property value
- See also
- Field: IsEnabled
-
Getter: GetIsEnabled()
void SetTimeStamped |
( |
const bool & |
value | ) |
|
|
inline |
Enable the time stamping of the logged text.
- Parameters
-
[in] | value | The new parameter value. |
- Returns
- the property value
- See also
- Field: TimeStamped
-
Getter: GetTimeStamped()
Writes a text.
- Parameters
-
Writes the data of an ISerializable object.
- Parameters
-
- Note
- Be careful that the ISerializable will be written in a locked context. Huge object serialization may leads to performance issue.
Writes the data of an ISerializable object.
- Parameters
-
text | A text written before the data. (Can be NULL) |
data | the data. |
- Note
- Be careful that the ISerializable will be written in a locked context. Huge object serialization may leads to performance issue.
void WriteLine |
( |
PCChar8 |
text = "" | ) |
|
Writes a text and a new line.
- Parameters
-
text | (optional) the text. Default = "" |
Writes the data of an ISerializable object and a new line.
- Parameters
-
- Note
- Be careful that the ISerializable will be written in a locked context. Huge object serialization may leads to performance issue.
Writes the data of an ISerializable object and a new line.
- Parameters
-
text | A text written before the data. (Can be NULL) |
data | the data. |
- Note
- Be careful that the ISerializable will be written in a locked context. Huge object serialization may leads to performance issue.
_criticalSection used to synchronize the writter with inner traitement mechanisms when needed.