1 package com.loribel.commons.abstraction;
2
3 /***
4 * Abstraction of a logger.
5 *
6 * @author Grégory Borelli
7 */
8 public interface GB_Logger
9 {
10 /***
11 * Start the logger.
12 */
13 void start();
14
15 /***
16 * Stop the logger
17 */
18 boolean stop();
19
20 /***
21 * Add a log to this logger.
22 */
23 void addLog(
24 GB_SimpleLogItem a_logItem);
25
26 /***
27 * Add a log to this logger.
28 */
29 //void addLog(
30 // String a_log);
31
32 }