Skip to content

huneau/winston-zulip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-zulip

A winston logger for zulip.

Usage

const winston = require('winston');
require('winston-zulip');


winston.add(winston.transports.Zulip, {
  zulipUsername: '<username>',
  zulipApikey: '<apikey>',
  zulipRealm: '<your domain>',
  zulipTo: 'my awesome collegue',
  zulipSubject: 'admin rights'
});

winston.log('info', 'Hello distributed log files!');

apikey creation

http://yourdomain/#settings

![apikeycreation][http://raw.githubusercontent.com/huneau/winston-zulip/master/zulip-apikey.png]

You can create your own apikey or create a bot and retreive it own apikey. For both of these solution, you can download a file that refer all needed variable.

About

A winston logger for zulip

Resources

License

Stars

Watchers

Forks

Packages

No packages published