@poap-xyz/poap-logger
Advanced tools
Comparing version 1.2.2 to 1.3.0
@@ -8,2 +8,3 @@ "use strict"; | ||
this.logger = (0, winston_1.createLogger)({ | ||
levels: winston_1.config.syslog.levels, | ||
format: winston_1.format.combine(winston_1.format.timestamp(), winston_1.format.json()), | ||
@@ -30,3 +31,3 @@ transports: [new winston_1.transports.Console()], | ||
warn(message, obj) { | ||
this.logger.warn(message, obj); | ||
this.logger.warning(message, obj); | ||
} | ||
@@ -33,0 +34,0 @@ notice(message, obj) { |
{ | ||
"name": "@poap-xyz/poap-logger", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "A logger for POAP", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -80,2 +80,13 @@ # 💻 POAP - Logger📜 | ||
</td> | ||
<td align="center"> | ||
<a href="https://github.com/alavarello"> | ||
<img src="https://avatars.githubusercontent.com/u/19600590?v=4" width="100px;" alt=""/> | ||
<br /> | ||
<sub> | ||
<b>Agustin Lavarello</b> | ||
</sub> | ||
</a> | ||
<br /> | ||
<a href="#" title="Code">💻</a> | ||
</td> | ||
</tr> | ||
@@ -82,0 +93,0 @@ </table> |
Sorry, the diff of this file is not supported yet
15629
209
95