containership.plugin.cloud
Version:
Offical plugin for interacting with ContainerShip Cloud
27 lines (19 loc) • 497 B
JavaScript
;
module.exports = {
info: function(...args) {
return this._log('info', ...args);
},
warn: function(...args) {
return this._log('warn', ...args);
},
trace: function(...args) {
return this._log('trace', ...args);
},
error: function(...args) {
return this._log('error', ...args);
},
_log: function(level, ...args) {
// eslint-disable-next-line no-console
return console[level](...args);
}
};