gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1899886)
raw | patch | inline | side by side (parent: 1899886)
author | Doni Pracner <quinnuendo@gmail.com> | |
Thu, 23 Jan 2014 21:47:38 +0000 (22:47 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Thu, 23 Jan 2014 21:47:38 +0000 (22:47 +0100) |
src/TransMessages.java | patch | blob | history |
diff --git a/src/TransMessages.java b/src/TransMessages.java
index f00c27aa13a75c74b3aebacd3445921cdb4836f5..5880c7903228cdd9b294f623e9736556151e626b 100644 (file)
--- a/src/TransMessages.java
+++ b/src/TransMessages.java
public static final int M_WAR = 1;
public static final int M_ERR = 2;
public static final int M_QUIET = 3;
- private PrintStream outStream;
+ private PrintStream outStream = System.out;
public TransMessages() {
this.setPrintLevel(M_ERR);
void message(String mes, int level){
if (level>=getPrintLevel()) {
- outStream = System.out;
outStream.println(mes);
}
messageCounters[level]++;