Function: ext.iolog.Add
Adds an entry to the IO log. Only entries related to the communication with the third-party system should be logged.
Syntax
{
"method": "ext.iolog.Add",
"params": {
"url": "...",
"data": "...",
"text": "...",
"info": "...",
"io": "...",
"time": "...",
"iotag": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<void> IologAdd( std::optional<AdvString> url = std::nullopt
std::optional<std::vector<uint8_t>> data = std::nullopt,
std::optional<AdvString> text = std::nullopt,
std::optional<AdvString> info = std::nullopt,
std::optional<EnumExtIoLogType> io = std::nullopt,
std::optional<AdvTime> time = std::nullopt,
std::optional<AdvString> iotag = std::nullopt );public Task IologAddAsync(string? url = null,
byte[]? data = null,
string? text = null,
string? info = null,
EnumExtIoLogType? io = null,
DateTime? time = null,
string? iotag = null,
CancellationToken ct = default);iologAdd(url?: string | undefined, data?: string | undefined, text?: string | undefined, info?: string | undefined, io?: EnumExtIoLogType | undefined, time?: Date | undefined, iotag?: string | undefined): Promise<>;Parameters
url : string optional
The parameter value is AopUrl.
URL of the Object representing the communication partner (e.g., the server or panel Object).
data : data optional
The data to log if it is binary. Only ‘data’ or ’text’ can be set at the same time.
text : string optional
The data to log if it is text. Only ‘data’ or ’text’ can be set at the same time.
info : string optional
If ‘data’ is set, a readable representation can be transmitted optionally.
io : int (EnumExtIoLogType) optional
Transfer/receive direction.
time : time optional
Time that the entry should have. If not set, the current time will be used.
iotag : string optional
Tag for association to extension log entries or Events.