diff --git a/package.json b/package.json index 696d1234..66b0a30c 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "displayTimestamp": false, "underlineLabel": true, "underlineMessage": false, - "underlinePrefix": false + "underlinePrefix": false, + "underlineSuffix": false } }, "xo": { diff --git a/signale.js b/signale.js index 68c57564..22a49a5c 100644 --- a/signale.js +++ b/signale.js @@ -181,7 +181,11 @@ class Signale { } if (additional.suffix) { - signale.push(additional.suffix); + if (this._config.underlineSuffix) { + signale.push(chalk.underline(additional.suffix)); + } else { + signale.push(additional.suffix); + } } return signale.join(' ');