|
@@ -105,6 +105,15 @@ public class Logger {
|
105
|
105
|
}
|
106
|
106
|
}
|
107
|
107
|
|
|
108
|
+ /**
|
|
109
|
+ * Record an error message for the application at the error error level,
|
|
110
|
+ * notifying the user if appropriate
|
|
111
|
+ * @param message Error message/cause
|
|
112
|
+ */
|
|
113
|
+ public static void error(String message) {
|
|
114
|
+ error(ErrorLevel.ERROR, message);
|
|
115
|
+ }
|
|
116
|
+
|
108
|
117
|
/**
|
109
|
118
|
* Record an error message for the application, notifying the user if
|
110
|
119
|
* appropriate
|
|
@@ -155,6 +164,15 @@ public class Logger {
|
155
|
164
|
}
|
156
|
165
|
}
|
157
|
166
|
|
|
167
|
+ /**
|
|
168
|
+ * Record an error message for the application at the error error level,
|
|
169
|
+ * notifying the user if appropriate
|
|
170
|
+ * @param exception Cause of error
|
|
171
|
+ */
|
|
172
|
+ public static void error(Exception exception) {
|
|
173
|
+ error(ErrorLevel.ERROR, exception);
|
|
174
|
+ }
|
|
175
|
+
|
158
|
176
|
/**
|
159
|
177
|
* Record an debug message for the application, notifying the user if
|
160
|
178
|
* appropriate
|
|
@@ -185,6 +203,15 @@ public class Logger {
|
185
|
203
|
}
|
186
|
204
|
}
|
187
|
205
|
|
|
206
|
+ /**
|
|
207
|
+ * Record an debug message for the application at the normal debug level,
|
|
208
|
+ * notifying the user if appropriate
|
|
209
|
+ * @param message Debug message
|
|
210
|
+ */
|
|
211
|
+ public static void debug(String message) {
|
|
212
|
+ debug(DebugLevel.NORMAL, message);
|
|
213
|
+ }
|
|
214
|
+
|
188
|
215
|
/**
|
189
|
216
|
* Record a log message for the application
|
190
|
217
|
* @param level log level
|