Comparing version 0.1.0 to 0.1.1
@@ -25,3 +25,3 @@ "use strict"; | ||
const logName = options.name ? `${options.name} ` : ''; | ||
const brand = (0, chalk_1.default) ` {blue ${options.brand || '@dot'}} `; | ||
const brand = options.brand ? (0, chalk_1.default) ` {blue ${options.brand}} ` : ''; | ||
const template = `[{{time}}]${brand}${logName}{{level}} `; | ||
@@ -28,0 +28,0 @@ const factory = new LogFactory_1.LogFactory({ |
{ | ||
"name": "@dot/log", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -7,3 +7,3 @@ # @dot/log | ||
This module requires an [Active LTS](https://github.com/nodejs/Release) Node version (v18+). | ||
This package requires an [Active LTS](https://github.com/nodejs/Release) Node version (v18+). | ||
@@ -10,0 +10,0 @@ ## Install |
Sorry, the diff of this file is not supported yet
23786