@genesislcap/foundation-logger 14.439.3 → 14.442.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/logger.js +1 -1
- package/package.json +4 -4
package/dist/esm/logger.js
CHANGED
|
@@ -50,7 +50,7 @@ export const defaultLoggerOptions = {
|
|
|
50
50
|
* @public
|
|
51
51
|
*/
|
|
52
52
|
export function createLogger(name, options = defaultLoggerOptions) {
|
|
53
|
-
const logger = consola.create(Object.assign(Object.assign({}, options), { defaults: Object.assign(Object.assign({},
|
|
53
|
+
const logger = consola.create(Object.assign(Object.assign({}, options), { defaults: Object.assign(Object.assign({}, options.defaults), { tag: name }) }));
|
|
54
54
|
logger.deprecated = (symbol, instruction = 'Consult docs for better alternative.', removalVersionTarget) => {
|
|
55
55
|
logger.warn(`Deprecated symbol used '${symbol}'. ${instruction}`, `${removalVersionTarget ? `Will be removed in version ${removalVersionTarget}.` : ''}`);
|
|
56
56
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-logger",
|
|
3
3
|
"description": "Genesis Foundation Logger",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.442.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"circular": "npx -y madge --extensions ts --circular ./src",
|
|
13
13
|
"clean": "rimraf dist temp tsconfig.tsbuildinfo",
|
|
14
14
|
"dev": "genx dev -b ts",
|
|
15
|
-
"lint": "genx lint
|
|
16
|
-
"lint:fix": "genx lint --fix"
|
|
15
|
+
"lint": "genx lint -l ox",
|
|
16
|
+
"lint:fix": "genx lint -l ox --fix"
|
|
17
17
|
},
|
|
18
18
|
"madge": {
|
|
19
19
|
"detectiveOptions": {
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "ad425e4ea17dad7d5b580200f2ca31758896d07f"
|
|
37
37
|
}
|