1.4.2 • Published 7 years ago
@olasearch/logger v1.4.2
Ola Search Logger Middleware
A redux middleware for Ola Search to log queries to logstash or google or any third party engines
Installation
- Install using yarn or npm
yarn add @olasearch/logger
- Add middleware when creating your redux store
import { createLoggerMiddleware } from '@olasearch/logger'
import { createStore } from '@olasearch/core'
import { Parser, QueryBuilder, Http } from '@olasearch/solr-adapter'
import config from './config'
/* Setup the middleware */
let loggerMiddleware = createLoggerMiddleware({ logger: config.logger })
/* Create ola store */
let store = createStore(config, { Parser, QueryBuilder, Http }, {}, [loggerMiddleware])
1.4.2
7 years ago
1.4.1
7 years ago
1.4.0
7 years ago
1.3.9
7 years ago
1.3.8
7 years ago
1.3.7
7 years ago
1.3.6
7 years ago
1.3.5
7 years ago
1.3.4
7 years ago
1.3.3
7 years ago
1.3.2
7 years ago
1.3.1
7 years ago
1.3.0
7 years ago
1.2.8
7 years ago
1.2.7
7 years ago
1.2.6
7 years ago
1.2.5
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.5
7 years ago
1.1.4
8 years ago