- OpenAPI v3 (XXT)
- OpenAPI v1 (TouchElf)
- OpenAPI v1 (TouchSprite)
读取错误日志
GET
/api/system/log/script_error.log
请求参数
Query 参数
last
integer
读取错误日志的行数
示例值:
20
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:46952/api/system/log/script_error.log?last=20'
返回响应
🟢206成功
text/plain
Body
object {0}
示例
2022-07-02 16:16:00.775 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.4698067632850241";
y = "0.7098214285714286";
}
);
}
);
}
2022-07-02 16:16:00.786 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.24ms
2022-07-02 16:16:00.786 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.5048309178743962";
y = "0.7098214285714286";
}
);
}
);
}
2022-07-02 16:16:00.797 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.06ms
2022-07-02 16:16:00.797 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.5471014492753623";
y = "0.7098214285714286";
}
);
}
);
}
2022-07-02 16:16:00.808 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.04ms
2022-07-02 16:16:00.809 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.5905797101449275";
y = "0.7098214285714286";
}
);
}
);
}
2022-07-02 16:16:00.819 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 9.57ms
2022-07-02 16:16:00.820 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.6364734299516909";
y = "0.7098214285714286";
}
);
}
);
}
2022-07-02 16:16:00.831 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 11.29ms
2022-07-02 16:16:00.832 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.6896135265700483";
y = "0.7092633928571429";
}
);
}
);
}
2022-07-02 16:16:00.843 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.12ms
2022-07-02 16:16:00.843 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.7451690821256038";
y = "0.7092633928571429";
}
);
}
);
}
2022-07-02 16:16:00.855 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 11.28ms
2022-07-02 16:16:00.856 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.8019323671497585";
y = "0.7092633928571429";
}
);
}
);
}
2022-07-02 16:16:00.866 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.04ms
2022-07-02 16:16:00.867 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.8611111111111112";
y = "0.7092633928571429";
}
);
}
);
}
2022-07-02 16:16:00.878 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.03ms
2022-07-02 16:16:00.878 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.9227053140096618";
y = "0.7092633928571429";
}
);
}
);
}
2022-07-02 16:16:00.889 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.11ms
2022-07-02 16:16:00.890 lua[5963:613336] SimulateTouch @ 920 in SimulateTouch_Move: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = 0;
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = moved;
pressure = 0;
twist = 90;
x = "0.9794685990338164";
y = "0.7103794642857143";
}
);
}
);
}
2022-07-02 16:16:00.900 lua[5963:613336] DeviceConfigurator @ 291 in DeviceConfigurator_System_StreamSleepInMilliseconds: time elapsed 10.04ms
2022-07-02 16:16:00.901 lua[5963:613336] SimulateTouch @ 1135 in SimulateTouch_Off: sendEventStream {
events = (
{
coordinateSpace = content;
inputType = hand;
timeOffset = "0.03";
touches = (
{
finger = 1;
id = 1;
inputType = finger;
majorRadius = "0.04";
mask = 0;
minorRadius = "0.03";
phase = ended;
pressure = 0;
twist = 0;
x = "0.9842995169082126";
y = "0.7131696428571429";
}
);
}
);
}
2022-07-02 16:16:00.901 lua[5963:613336] SimulateTouch @ 1145 in SimulateTouch_Off: Finger 1 unlocked
修改于 2025-04-13 17:48:30