The Remote logging interface.
More...
|
static constexpr const tChar *const | DEFAULT_NAME = "logging" |
| Default rpc object server name within an ADTF system.
|
|
◆ CreateLogBuffer()
virtual size_t CreateLogBuffer |
( |
tTimeStamp |
nTimeout | ) |
|
|
pure virtual |
Creates a new log buffer.
- Parameters
-
[in] | nTimeout | If the buffer is not retrieved within this timeout, then the buffer is destroyed. |
- Returns
- The buffer ID.
◆ GetBufferContent()
virtual const char* GetBufferContent |
( |
size_t |
nBufferID | ) |
|
|
pure virtual |
Returns the content of a log buffer.
- Parameters
-
[in] | nBufferID | The buffer ID. |
- Returns
- The content, use parse_logging_rpc_buffer to parse the returned string.
◆ ReleaseLogBuffer()
virtual tResult ReleaseLogBuffer |
( |
size_t |
nBufferID | ) |
|
|
pure virtual |
Releases a log buffer.
- Parameters
-
[in] | nBufferID | The buffer ID. |
- Returns
- Standard result.