2015-09-26 18:46:16 +00:00
|
|
|
/// <reference path="./typings/tsd.d.ts" />
|
|
|
|
var beautyLog = require('./index.js');
|
|
|
|
|
|
|
|
console.log('*** start test ***');
|
|
|
|
console.log ('');
|
|
|
|
|
|
|
|
console.log('declarative function calls:');
|
|
|
|
beautyLog.log('beautylog.log(), with normal logText, without logType');
|
2015-10-12 18:00:41 +00:00
|
|
|
beautyLog.dir('beautylog.dir(), with normal logText, without logType');
|
2015-09-26 18:46:16 +00:00
|
|
|
beautyLog.error('beautylog.error(), with normal logText, without logType');
|
2015-10-12 18:00:41 +00:00
|
|
|
beautyLog.info('beautylog.dir(), with normal logText, without logType');
|
2015-10-12 11:14:16 +00:00
|
|
|
beautyLog.ok('beautylog.ok(), with normal logText, without logType');
|
2015-09-26 18:46:16 +00:00
|
|
|
beautyLog.success('beautylog.success(), with normal logText, without logType');
|
2015-10-12 11:14:16 +00:00
|
|
|
beautyLog.warn('beautylog.warn(), with normal logText, without logType');
|
2015-09-26 18:46:16 +00:00
|
|
|
|
|
|
|
console.log('');
|
|
|
|
|
|
|
|
console.log('logType String:');
|
|
|
|
beautyLog.log('beautylog.log(), with normal logText, without logType');
|
2015-10-12 18:00:41 +00:00
|
|
|
beautyLog.log('beautylog.log(), with normal logText, with logType "dir"','dir');
|
2015-09-26 18:46:16 +00:00
|
|
|
beautyLog.log('beautylog.log(), with normal logText, with logType "error"','error');
|
2015-10-12 18:00:41 +00:00
|
|
|
beautyLog.log('beautylog.log(), with normal logText, with logType "info"','info');
|
2015-10-12 11:14:16 +00:00
|
|
|
beautyLog.log('beautylog.log(), with normal logText, with logType "ok"','ok');
|
2015-09-26 18:46:16 +00:00
|
|
|
beautyLog.log('beautylog.log(), with normal logText, with logType "success"','success');
|
2015-10-12 11:14:16 +00:00
|
|
|
beautyLog.log('beautylog.log(), with normal logText, with logType "warn"','warn');
|
2015-09-26 18:46:16 +00:00
|
|
|
|
|
|
|
console.log ('');
|
|
|
|
console.log('*** end test ***');
|