/log

Outputs an access log or stats view to the lws console

Primary LanguageJavaScriptMIT LicenseMIT

view on npm npm module downloads Build Status Dependency Status js-standard-style

lws-log

Logging middleware for lws, wrapping morgan. See here for usage information.

Adds the following options to lws.

--log.format, -f string        Possible values: 'stats', 'logstalgia' or anything defined by
                               https://github.com/expressjs/morgan, typically 'dev', 'combined', 'short',
                               'tiny' or a custom format (e.g. ':method -> :url')

© 2016-20 Lloyd Brookes <75pound@gmail.com>.