Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Commit f50b9b7

Browse files
committed
chore: clean up dir
1 parent 41a52e5 commit f50b9b7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "logger-stream-rotate",
33
"version": "0.0.0",
4-
"description": "String date and time utilities",
4+
"description": "Write log files and rotate them using gzip",
55
"repository": "joseluisq/logger-stream-rotate",
66
"license": "(MIT OR Apache-2.0)",
7+
"main": "index.js",
78
"author": {
89
"name": "Jose Quintana",
910
"url": "https://git.io/joseluisq"

sample/sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Logger } from "../src"
22

3-
const LOG_DIR_PATH = process.env["LOG_DIR_PATH"] || "./logs"
3+
const LOG_DIR_PATH = process.env["LOG_DIR_PATH"] || "./"
44

55
// Usage
66
const logger = Logger(LOG_DIR_PATH + "/app-%YYYY-%MM-%DD.log", " | ")

0 commit comments

Comments
 (0)