@zodash/logger
Advanced tools
Comparing version
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.0.5](https://github.com/zcorky/zodash/compare/@zodash/logger@0.0.4...@zodash/logger@0.0.5) (2019-11-20) | ||
**Note:** Version bump only for package @zodash/logger | ||
## [0.0.4](https://github.com/zcorky/zodash/compare/@zodash/logger@0.0.3...@zodash/logger@0.0.4) (2019-10-30) | ||
@@ -8,0 +16,0 @@ |
@@ -26,2 +26,5 @@ "use strict"; | ||
function formatPatternMessage(pattern, dataMap) { | ||
if (pattern.indexOf('%s') === -1) { | ||
return [pattern, ...dataMap].join(' '); | ||
} | ||
return pattern.replace(/%s/g, (_, index) => { | ||
@@ -28,0 +31,0 @@ return dataMap[index]; |
{ | ||
"name": "@zodash/logger", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "simple logger model", | ||
@@ -72,3 +72,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "3d973006a9d39499291ce5155743cb6d18ebc51a" | ||
"gitHead": "07ed51d1152d23bcadb0dd06a036837575e309ae" | ||
} |
Sorry, the diff of this file is not supported yet
12574
3.3%155
1.97%