maven/maven-slf4j-provider/src
sebastien-doyon d362690a82
[MNG-7899] Various memory usage improvements 5 (#1270)
Multiple optimizations :
- renderLevel() method use static constants instead of rebuilding the strings on each call
- replace + operator usage with more PrintStream.print() calls to reduce temporary strings creation
- reduce usage of MessageBuilder.a() method usage with more PrintStream.print() calls to reduce temporary strings creation
- replace the builder() method with a static import
- replace String.format with a simple string concat to reduce memory allocation (garbage)
- change static constants to class member in MavenSimpleLogger
- add a setLength(int) method in MessageBuilder to enable reuse
2023-10-20 16:30:44 +02:00
..
main/java/org/slf4j/impl [MNG-7899] Various memory usage improvements 5 (#1270) 2023-10-20 16:30:44 +02:00
site update logging documentation 2023-06-19 23:09:43 +02:00
test/java/org/slf4j/impl [MNG-7778] - Include suppressed exceptions when logging failures (#1103) 2023-05-05 17:21:16 +02:00