winston-ravendb
A RavenDB transport for [winston][0].
Usage
var winston = ;// Requiring `winston-ravendb` will expose// `winston.transports.RavenDB`RavenDB;winston;
Queries
Filter by level
logger;
Filter by dates
logger;
Filter using lucene
logger;
Filter using fluent api
logger;
The RavenDB transport takes the following options:
- level: Level of messages that this transport should log, defaults to 'info'.
- entityName: 'Raven-Entity-Name' in RavenDB , defaults to 'Log'.
- connectionString: The connection string for connecting to RavenDB.
- database: The name of the database you want to log to.
- serverUrl: The url where RavenDB is running (required if no connectionString supplied).
- username: The username for conencting to RavenDB (required if no connectionString supplied and depending on RavenDB authentication).
- password: The password for conencting to RavenDB (required if no connectionString supplied and depending on RavenDB authentication).
- apiKey: The apiKey for conencting to RavenDB (required if no connectionString supplied and depending on RavenDB authentication).
- proxyUrl: Proxy url if needed.
Installation
Installing winston-ravendb
$ npm install winston$ npm install winston-ravendb