Skip to content

Nebula - 2.0.1

Choose a tag to compare

@VxidDev VxidDev released this 02 Mar 17:59

This Nebula update introduces custom logging system.

New Features:

Now, after each request handled, log is sent in this format:

self.request_log_format = "[ {HTTP_CODE} - {TIME} ] {ENDPOINT}"

this can be changed, by editing the Nebula instance's .request_log_format variable.

Available Data:

Key Value
HTTP_CODE A HTTP response code after route handling.
TIME Time, when request had occured. Format: HH:MM:SS
DATE Date, when request had occured. Format: Y:m:d
ENDPOINT Path of the request. e.g /api/some-action?arg=123