Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

lws-log

lwsjs267.6kMIT3.0.0

Logging feature for lws

lws, lws-middleware, log

readme

view on npm npm module downloads Gihub repo dependents Gihub package dependents Node.js CI 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-24 Lloyd Brookes <75pound@gmail.com>.