I need to implement logging to our sails server. I have found sails logging to file
But I am afraid I don't understand it very well. Intention is to replace console.log with log system.
This is just one example of many places where I need to implement logger:
s3.putObject(params, function (err, data) {
if (err)
console.log(err);
else
console.log("Successfully uploaded " +
//etc