Skip to content

Commit 20ba533

Browse files
committed
change the publish date
1 parent 7f1d4dc commit 20ba533

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

content/posts/winston-transports.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
+++
22
ShowToc = true
3-
date = 2022-09-06T18:30:00Z
3+
date = 2023-05-21T19:51:13.848Z
44
description = "Brief intro to winston transports and how to create custom ones."
55
tags = ["webdev", "winston", "logging", "custom"]
66
title = "Winston Transports??"
@@ -26,13 +26,15 @@ So transport is basically like where you want to store your logs.
2626
There are some most basic ones like:
2727

2828
- **The Console**
29+
2930
```tsx
3031
import winston from "winston";
3132

3233
export const logger = winston.createLogger({
3334
transports: [new winston.transports.Console()],
3435
});
3536
```
37+
3638
- **Files**
3739
```tsx
3840
...

0 commit comments

Comments
 (0)