Line | |
---|
1 | package org.apollo.util;
|
---|
2 |
|
---|
3 | public class ApolloSystemLog {
|
---|
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("Audio: " + 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("*Apollo-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("*Apollo-Error*: " + errorMessage + ". Exception stacktrace to follow:");
|
---|
31 | e.printStackTrace();
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.