@@ -296,22 +296,22 @@ More screenshots in the `screenshots` folder.
296
296
297
297
``` ts
298
298
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
302
302
}
303
303
304
304
interface LoggerInerface {
305
- constructor ()
305
+ constructor ();
306
306
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 ;
310
310
311
- async initFileLogger(dir : string , options : fileLoggerOptions = {}): Promise <void >
311
+ initFileLogger(dir : string , options : fileLoggerOptions = {}): Promise <void >;
312
312
313
- disableConsole(): void
314
- enableConsole(): void
313
+ disableConsole(): void ;
314
+ enableConsole(): void ;
315
315
316
316
disableFile(): void ;
317
317
enableFile(): void ;
@@ -320,3 +320,11 @@ interface LoggerInerface {
320
320
enable(): void ;
321
321
}
322
322
```
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