I need to register with our sails server. I found sailing logging to file
But I'm afraid that I do not understand this very well. The intention is to replace console.log with a log system.
This is just one example from many places where I need to implement a registrar:
s3.putObject(params, function (err, data) {
if (err)
console.log(err);
else
console.log("Successfully uploaded " +
//etc.
source
share