Skip to content

Commit 6537baf

Browse files
author
zhangfuxing
committed
docs: add contributors
1 parent 7311431 commit 6537baf

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -296,22 +296,22 @@ More screenshots in the `screenshots` folder.
296296

297297
```ts
298298
interface fileLoggerOptions {
299-
rotate?: boolean; // cut by day
300-
maxBytes?: number, // the maximum size in bytes that the log file can grow to before rolling over to a new one
301-
maxBackupCount?: number // maxBackupCount must work with maxBytes
299+
rotate?: boolean; // cut by day
300+
maxBytes?: number; // the maximum size in bytes that the log file can grow to before rolling over to a new one
301+
maxBackupCount?: number; // maxBackupCount must work with maxBytes
302302
}
303303

304304
interface LoggerInerface {
305-
constructor()
305+
constructor();
306306

307-
info(...args: unknown[]): void
308-
warn(...args: unknown[]): void
309-
error(...args: unknown[]): void
307+
info(...args: unknown[]): void;
308+
warn(...args: unknown[]): void;
309+
error(...args: unknown[]): void;
310310

311-
async initFileLogger(dir: string, options: fileLoggerOptions = {}): Promise<void>
311+
initFileLogger(dir: string, options: fileLoggerOptions = {}): Promise<void>;
312312

313-
disableConsole(): void
314-
enableConsole(): void
313+
disableConsole(): void;
314+
enableConsole(): void;
315315

316316
disableFile(): void;
317317
enableFile(): void;
@@ -320,3 +320,11 @@ interface LoggerInerface {
320320
enable(): void;
321321
}
322322
```
323+
324+
## Contributors
325+
326+
<a href="https://github.com/deno-library/logger/graphs/contributors">
327+
<img src="https://contrib.rocks/image?repo=deno-library/logger" />
328+
</a>
329+
330+
Thanks for their contributions!

0 commit comments

Comments
 (0)