Input params

Param nameRequiredTypeDescription
typeYesstringIt is a special keyword for your logs like "ui", "ui-error", "backend-crush"
messageYesJSONIt contains information that you want to log. It should be noted that we record your log data only from the message property
vNostringIt means your app version.
fxNostringfx or event on your side from which you want to log data or error.

Example

Request example

 POST /$loggy

 type: ui
 v: "2020.02"
 fx: "fetchUsers"
 message:
    error:
        message: "Access Denied."

In log example

w_uid: admin
ctx: request-uid
message:
  error: {message: Access denied.}
w_app_v: '2020.02'
w_cid: box-ui
w_app_fx: fetchUsers
w_m: post

Aidbox logs structure is described here