Showing 2 of 2 total issues
Function syslog
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.syslog = function (next, logger, log) {
const plugin = this;
switch (log.level.toUpperCase()) {
case 'INFO':
Function register
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.register = function () {
const plugin = this;
let options = 0;