slf4ts-elasticsearch-log-adapter
elasticsearch client Logging-Adapter for slf4ts
This project is a log adapter using slf4ts logger implementation.
It's meant to be used with nodejs
.
Usage
; // create an instance of elasticsearch client and an instance of the logging adapter for that client// creates/uses a logger with group "elasticsearch"; ;// create an instance of elasticsearch client and an instance of the logging adapter with a pre-created logger instance; // access the underlying logger instance;logger.setLogLevel...;