logger icon indicating copy to clipboard operation
logger copied to clipboard

[Feature Request] make `printTime` also append the date.

Open 0xNF opened this issue 3 years ago • 3 comments

the printTime function should also print the current date. This would be useful because I am using this package to write files to disk and would like to know what days an event happened on.

0xNF avatar May 31 '22 00:05 0xNF

What printer are you using?

It is simple to write your own printer. Have a look here: https://github.com/leisim/logger/blob/master/lib/src/printers/prefix_printer.dart

haarts avatar Jun 03 '22 13:06 haarts

Yeah I know it's easy to write my own. I just think I shouldn't have to.

0xNF avatar Jun 03 '22 13:06 0xNF

I see merit in your suggestion. Please submit a PR and I'll review it.

haarts avatar Jun 03 '22 13:06 haarts