-
Notifications
You must be signed in to change notification settings - Fork 12
logs api
Belikhun edited this page May 12, 2019
·
2 revisions
-
Permission:
admin
-
Require Logged In:
true
Field | Type | Description |
---|---|---|
level | string | Log level |
unixtime | number | Time in unix |
time | string | Time |
text | string | Log information |
module | string | Module called to write log |
client.username | string | Username in that session |
client.ip | string | User's IP address in that session |
{
"code": 0,
"status": 200,
"description": "Success",
"user": "belivipro9x99",
"data": [
{
"level": "OKAY",
"unixtime": 1552821969,
"time": "17\/03\/2019 18:26:09",
"text": "Đăng nhập thành công [995b919c6ae62d7012914486217326e0]",
"module": "login.php:30",
"client": {
"username": "belivipro9x99",
"ip": "::1"
}
},
{
"level": "OKAY",
"unixtime": 1552822371,
"time": "17\/03\/2019 18:32:51",
"text": "Đã thay đổi cài đặt.",
"module": "config.php:111",
"client": {
"username": "belivipro9x99",
"ip": "::1"
}
},
{
"level": "INFO",
"unixtime": 1552822377,
"time": "17\/03\/2019 18:32:57",
"text": "Đã thay đổi tên thành \"Belikhun\"",
"module": "edit.php:55",
"client": {
"username": "belivipro9x99",
"ip": "::1"
}
}
],
"runtime": 0.002833843231201172
}
Clear Logs
-
Permission:
admin
-
Require Logged In:
true