View Javadoc
1   package org.newdawn.slick.util;
2   
3   /**
4    * Plugin in interface for the logging of Slick.
5    * 
6    * @author kevin
7    */
8   interface LogSystem {
9   
10      /**
11       * Log an error.
12       *
13       * @param message The message describing the error
14       * @param e The exception causing the error
15       */
16      public void error(String message, Throwable e);
17  
18      /**
19       * Log an error.
20       *
21       * @param e The exception causing the error
22       */
23      public void error(Throwable e);
24  
25      /**
26       * Log an error.
27       *
28       * @param message The message describing the error
29       */
30      public void error(String message);
31  
32      /**
33       * Log a warning.
34       *
35       * @param message The message describing the warning
36       */
37      public void warn(String message);
38  
39      /**
40       * Log a warning.
41       *
42       * @param message The message describing the warning
43       * @param e The cause of the warning
44       */
45      public void warn(String message, Throwable e);
46  
47      /**
48       * Log an information message.
49       *
50       * @param message The message describing the information
51       */
52      public void info(String message);
53  
54      /**
55       * Log a debug message.
56       *
57       * @param message The message describing the debug
58       */
59      public void debug(String message);
60  }