Interface BorderFormatter

  • All Superinterfaces:
    Formatter<java.lang.String[]>
    All Known Implementing Classes:
    DefaultBorderFormatter

    public interface BorderFormatter
    extends Formatter<java.lang.String[]>
    The border formatter used to wrap string segments with borders when logging.

    e.g:

    ╔════════════════════════════════════════════════════════════════════════════
    ║Thread: main
    ╟────────────────────────────────────────────────────────────────────────────
    ║ ├ com.elvishew.xlog.SampleClassB.sampleMethodB(SampleClassB.java:100)
    ║ └ com.elvishew.xlog.SampleClassA.sampleMethodA(SampleClassA.java:50)
    ╟────────────────────────────────────────────────────────────────────────────
    ║Here is a simple message
    ╚════════════════════════════════════════════════════════════════════════════

    • Method Summary

      • Methods inherited from interface com.elvishew.xlog.formatter.Formatter

        format