To log using Loggic is very easy lol.
To log, you need to use the .log() function,
This is the syntax of the .log() function :
.log(OBJECT, FROM)
Example :
var loggic = require('loggic');
var logger = loggic.logger();
logger.log({
text: 'Hello!',
color: 'green'
})
This will log :
Another example :
var loggic = require('loggic');
var logger = loggic.logger();
logger.log({
text: 'Hello!',
color: 'green'
}, 'application')
This will log :