@@ -48,7 +48,7 @@ fhmedia:
4848 - link : " https://www.hsbi.de/medienportal/m/a91451640b7833daed3f6fb212fff9490ef6b8885783cc0297603a418055f1a8c2ff7b51f3cb9fb2c4344132eb95bef5af55201f8958f24d767dbd075120bce2"
4949 name : " VL Logging"
5050attachments :
51- - link : " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/_pdf/lecture/java-classic /logging.pdf"
51+ - link : " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/_pdf/lecture/quality /logging.pdf"
5252 name : " PDF-Version"
5353challenges : |
5454 **Logger-Konfiguration**
@@ -164,7 +164,7 @@ Zusätzlich gibt es noch Filter, mit denen man Nachrichten (zusätzlich zum
164164Log-Level) nach weiteren Kriterien filtern kann.
165165:::
166166
167- [ Konsole: logging.LoggingDemo] {.ex href="https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/java-classic /src/logging/LoggingDemo.java"}
167+ [ Konsole: logging.LoggingDemo] {.ex href="https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/quality /src/logging/LoggingDemo.java"}
168168
169169
170170# Erzeugen neuer Logger
@@ -234,7 +234,7 @@ public void log(Level level, String msg);
234234 * Pr üfung mit `public boolean isLoggable(Level )`
235235 * Setzen mit `public void setLevel(Level )`
236236
237- [Konsole : logging. LoggingLevel ]{. ex href= " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/java-classic /src/logging/LoggingLevel.java" }
237+ [Konsole : logging. LoggingLevel ]{. ex href= " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/quality /src/logging/LoggingLevel.java" }
238238
239239::: notes
240240= > Warum wird im Beispiel nach `log. setLevel(Level . ALL );` trotzdem nur
@@ -266,7 +266,7 @@ ab `INFO` geloggt? Wer erzeugt eigentlich die Ausgaben?!
266266* Handler nutzen zur Formatierung der Ausgabe einen `Formatter `
267267* Standard - Formatter : `SimpleFormatter ` und `XMLFormatter `
268268
269- [Konsole : logging. LoggingHandler ]{. ex href= " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/java-classic /src/logging/LoggingHandler.java" }
269+ [Konsole : logging. LoggingHandler ]{. ex href= " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/quality /src/logging/LoggingHandler.java" }
270270
271271::: notes
272272= > Warum wird im Beispiel nach dem Auskommentieren von
@@ -290,7 +290,7 @@ angezeigt (ab `INFO` aufwärts)?!
290290 * Abschalten mit `Logger #setUseParentHandlers(false );`
291291 * Diese leiten [an ihre Handler sowie]{. notes} an ihren Eltern - Logger weiter (unabhängig von Log - Level ! )
292292
293- [Konsole : logging. LoggingParent ; Tafel : Skizze Logger - Baum ]{. ex href= " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/java-classic /src/logging/LoggingParent.java" }
293+ [Konsole : logging. LoggingParent ; Tafel : Skizze Logger - Baum ]{. ex href= " https://github.com/Programmiermethoden-CampusMinden/Prog2-Lecture/blob/master/lecture/quality /src/logging/LoggingParent.java" }
294294
295295
296296# Wrap - Up
0 commit comments