Lese gerade etwas über die Loggin-API von Java.
"Since you typically use one logger per class, we can make it a static field..."
An Introduction to the Java Logging API - O'Reilly Media
Wieso nutzt man typischerweise einen Logger pro Klasse? Wo liegt das Problem wenn man einen Logger für alle Klassen eines Programmes nutzt?
"Since you typically use one logger per class, we can make it a static field..."
An Introduction to the Java Logging API - O'Reilly Media
Wieso nutzt man typischerweise einen Logger pro Klasse? Wo liegt das Problem wenn man einen Logger für alle Klassen eines Programmes nutzt?