source: trunk/src_apollo/org/apollo/util/AudioSystemLog.java@ 315

Last change on this file since 315 was 315, checked in by bjn8, 16 years ago

Apollo spin-off added

File size: 749 bytes
Line 
1package org.apollo.util;
2
3public class AudioSystemLog {
4
5 public static void println(Object o) {
6 println(o.toString());
7 }
8
9 public static void print(Object o) {
10 print(o.toString());
11 }
12
13 public static void println(String message) {
14 print("Apollos: " + message + "\n");
15 }
16
17 public static void print(String message) {
18 System.out.print(message);
19 }
20
21 public static void printError(String errorMessage) {
22 System.err.print("*Apollos-Error*: " + errorMessage);
23 }
24
25 public static void printException(Exception e) {
26 e.printStackTrace();
27 }
28
29 public static void printException(String errorMessage, Exception e) {
30 System.err.println("*Apollos-Error*: " + errorMessage + ". Exception stacktrace to follow:");
31 e.printStackTrace();
32 }
33}
Note: See TracBrowser for help on using the repository browser.