diff --git a/package.json b/package.json index a9fb513e..696d1234 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,8 @@ "displayLabel": true, "displayTimestamp": false, "underlineLabel": true, - "underlineMessage": false + "underlineMessage": false, + "underlinePrefix": false } }, "xo": { diff --git a/signale.js b/signale.js index 89133876..68c57564 100644 --- a/signale.js +++ b/signale.js @@ -144,7 +144,11 @@ class Signale { const signale = this._meta(); if (additional.prefix) { - signale.push(additional.prefix); + if (this._config.underlinePrefix) { + signale.push(chalk.underline(additional.prefix)); + } else { + signale.push(additional.prefix); + } } if (this._config.displayBadge && type.badge) {