Skip to content

javascript

piyush thapa edited this page May 25, 2017 · 1 revision

javascript library for SnLOg

Instalation:

npm:

 npm install --save sn_log

usage:

  import sn_log from 'sn_log'
  new sn_log('API_KEY')
         .log('groupName','message', options, (error, result) =>{
		    // check error or result
         });

options:

  • label : (String) => the name of label created in the group ("warning", "success")

Clone this wiki locally