- Prevent logging for empty messages (#38)
- Deploy minified code with a workaround that works. (#35)
- Deploy non-minified code for Elysia applications to run. (#34)
- GitHub Actions to automate the release workflow. (#29)
- Breaking changes with Elysia v1.1.x releases. (#32)
- New preset
commontz
, which is similar tocommon
but logs the time in server's timezone. (#28)
onSuccess
receiving undefined values in parameters.
- Optional
onRequest
logging formatter for hooking onto onRequest. (#13)
- Type-safety to onSuccess method, based on attributes passed on
use
. (#6)
- Status of type
number
and notany
. (#5)
- First stable release! 🎆
- Fix issues related to file logging. (#14)
- Request duration returns time in microseconds.
fancy
preset includes the duration on successful requests.
- Incorrect status code when returning with
error
function (#11)
- Request duration as a logging feature (#10)
- README file and updated the Wiki page.
- Default configuration for
fancy
preset.
- Customisable log type/level colour.
- Option to disable implicit and explicit logging.
build
function to create a logger wihout anyhttpLogging
.
- Passing in options will override preset options.
- Type loss when using Logestic middleware.
Redacted. see 1.0.0-alpha.2 for changes
- Origin/level of the log message, 'HTTP', 'ERROR', 'WARN', 'DEBUG', 'INFO'.
info
,warn
,debug
,error
functions are added for custom logging throughout the application.
- BREAKING CHANGE:
Logestic
accepts an options object instead of a destination file. - BREAKING CHANGE:
log
is a private function. Replace all usages oflog
function withinfo
function. - Presets definition returns an
Elysia
instance.
- Custom Error logging when request fails.
- BREAKING CHANGE: Custom logging functionality accepts an object of two functions,
onSuccess
andonFailure
.
- New logging preset:
'fancy'
- BREAKING CHANGE: renamed
custom
function toformat
This is the first version to be documented in the changelog. Previous changes are not recorded.