Skip to content

Commit

Permalink
Merge branch 'winstonjs:master' into fix-#2091
Browse files Browse the repository at this point in the history
  • Loading branch information
debadutta98 authored Jun 29, 2023
2 parents f60d4a5 + fcc69ec commit 9eb31d8
Show file tree
Hide file tree
Showing 6 changed files with 1,631 additions and 1,482 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
strategy:
matrix:
node:
- 12
- 14
- 16
- 18
- 20
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .nycrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ reporter:
check-coverage: true
branches: 61.51
lines: 70.85
functions: 73.21
statements: 70.54
functions: 70.00
statements: 70.54
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,11 @@ const logger = winston.createLogger({
level: 'error',
format: winston.format.json()
}),
new transports.Http({
new winston.transports.Http({
level: 'warn',
format: winston.format.json()
}),
new transports.Console({
new winston.transports.Console({
level: 'info',
format: winston.format.combine(
winston.format.colorize(),
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ declare namespace winston {
stream(options?: any): NodeJS.ReadableStream;

startTimer(): Profiler;
profile(id: string | number, meta?: LogEntry): Logger;
profile(id: string | number, meta?: Record<string, any>): Logger;

configure(options: LoggerOptions): void;

Expand Down
Loading

0 comments on commit 9eb31d8

Please sign in to comment.