Class PrefixingLogger

  • All Implemented Interfaces:
    Logger

    public final class PrefixingLogger
    extends Object
    implements Logger
    Logger that adds prefix to its log messages. This makes tracking of some log messages easier to track.

    Usage:

    PrefixingLogger logger = new PrefixingLogger( "Bambi", Bambi.class );
    logger.info ( "was here" );

    Expected Log Message:
    {Bambi} -> was here