protected String renderTag ( final LogEntry logEntry ) { StringBuilder builder = reuseOrCreate ( tagBuilder , TAG_MAX_LENGTH ) ; tagToken . render ( logEntry , builder ) ; if ( builder . length ( ) > TAG_MAX_LENGTH ) { return builder . substring ( 0 , TAG_MAX_LENGTH - ELLIPSIS . length ( ) ) + ELLIPSIS ; } else { return builder . toString ( ) ; } }
Renders the tag from a log entry .