var simplog = require('./silog.js');

simplog.setLevel(simplog.level.DEBUG);
var TAG = 'silog_demo';

simplog.log(simplog.level.DEBUG, TAG, 'Hello world!');

@@ -1,16 +1,14 @@
 var si
-mp
 log = re
@@ -27,26 +27,24 @@
 og.js');%0A%0Asi
-mp
 log.setLevel
@@ -46,18 +46,16 @@
 Level(si
-mp
 log.leve
@@ -91,18 +91,16 @@
 mo';%0A%0Asi
-mp
 log.log(
@@ -105,10 +105,8 @@
 g(si
-mp
 log.
@@ -136,12 +136,124 @@
 o world!');%0A
+%0Afunction log(message) %7B%0A    %22use strict%22;%0A    silog.log(silog.level.DEBUG, TAG, message);%0A%7D%0A%0Alog('Bye world!');

Update demo