kopia lustrzana https://github.com/c9/core
19 wiersze
321 B
JavaScript
19 wiersze
321 B
JavaScript
![]() |
/**
|
||
|
* Dummy implementation of metrics.
|
||
|
*/
|
||
|
"use strict";
|
||
|
|
||
|
plugin.consumes = [];
|
||
|
plugin.provides = ["metrics"];
|
||
|
|
||
|
module.exports = plugin;
|
||
|
|
||
|
function plugin(options, imports, register) {
|
||
|
|
||
|
register(null, {
|
||
|
"metrics": {
|
||
|
log: function() {},
|
||
|
increment: function() {}
|
||
|
}
|
||
|
});
|
||
|
}
|