MEONMedical / Log4Qt

Log4Qt - Logging for the Qt cross-platform application framework
Apache License 2.0
584 stars 234 forks source link

Fix Patternformatter maxLength behaviour #23

Closed chehrlic closed 7 years ago

chehrlic commented 7 years ago

Fix Patternformatter maxLength behaviour to match the log4j documentation: If the data item is longer than the maximum field, then the extra characters are removed from the beginning of the data item and not from the end. See https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html