mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
106 lines
1.7 KiB
JSON
106 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "ConsoleEntry",
|
|
"type": "object",
|
|
"required": [
|
|
"kind",
|
|
"level",
|
|
"sequence",
|
|
"text"
|
|
],
|
|
"properties": {
|
|
"column": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"format": "int64"
|
|
},
|
|
"kind": {
|
|
"$ref": "#/definitions/ConsoleEntryKind"
|
|
},
|
|
"level": {
|
|
"type": "string"
|
|
},
|
|
"line": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"format": "int64"
|
|
},
|
|
"sequence": {
|
|
"type": "integer",
|
|
"format": "uint64",
|
|
"minimum": 0.0
|
|
},
|
|
"stack_trace": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/definitions/ConsoleStackFrame"
|
|
}
|
|
},
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"timestamp": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
],
|
|
"format": "double"
|
|
},
|
|
"truncated": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"url": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"definitions": {
|
|
"ConsoleEntryKind": {
|
|
"type": "string",
|
|
"enum": [
|
|
"console",
|
|
"exception",
|
|
"log"
|
|
]
|
|
},
|
|
"ConsoleStackFrame": {
|
|
"type": "object",
|
|
"properties": {
|
|
"column": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"format": "int64"
|
|
},
|
|
"function_name": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"line": {
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
],
|
|
"format": "int64"
|
|
},
|
|
"url": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|