Skip to content

IO42630/min-log

Repository files navigation

min-log

Wraps the java logger.

  • replaces parent handlers with :
    • 1ConsoleHandler
    • 1 FileHandler
  • adds pretty display of:
    • thread name
    • method name
  • can (should) customize with LogU.remake(...) :
    • log file directory
    • project package name
      • prefix, filters stack, to print method name, thereby skipping over the min-log methods.
      • admittedly, this is a slightly wonky approach.
    • format:
      • default: "[%1$tF %1$tT] [%2$-7s] [%3$-20s] %4$-120s [%5$s]\n"

example output

  • using "[%1$tF %1$tT] [%2$-7s] [%3$-14s] %4$-180s [%5$s]\n"
  • note that the [START > ] is inclueded in the 180s.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published