0.1.0 • Published 7 years ago
sumologic-logger v0.1.0
sumologic-logger
Send your application's logs to a SumoLogic HTTP endpoint
sumologic-logger was made as a replacement for logs-to-sumologic which hasn't had an update in over two years and has a ton of dependency errors. Basically we made this to help clean up our codebase a little bit (it also has Typescript definitions bundled with it).
Prerequisites
- Node.js 8.x
Installation
npm install -g sumologic-logger
oryarn global add sumologic-logger
Usage
import { Logger } from 'sumologic-logger';
const logger = new Logger({
url: 'your sumologic url',
});
logger.info('foo');
logger.warn('foo');
logger.error('foo');
Development
yarn install
yarn run build
0.1.0
7 years ago