slf4ts-cassandra-log-adapter
Cassandra Logging-Adapter for slf4ts
This project forwards log events from datastax cassandra driver to slf4ts logger implementation.
It's s meant to be used with nodejs
.
Usage
; // create an instance of Client; // Create an instance of the logging adapter for each client// creates/uses a logger with group "cassandra" and the keyspace of the client as name (empty string if not configured) new CassandraLogAdapterclient; // Create an instance of the logging adapter with a pre-created logger instance;new CassandraLogAdapterclient, logger; // use the client as usualclient.connect; // access the underlying logger instance;logger.setLogLevel...;