1 | |
package liquibase.logging; |
2 | |
|
3 | |
import liquibase.servicelocator.PrioritizedService; |
4 | |
|
5 | |
public interface Logger extends PrioritizedService { |
6 | |
|
7 | |
void setName(String name); |
8 | |
|
9 | |
void setLogLevel(String level); |
10 | |
|
11 | |
void setLogLevel(LogLevel level); |
12 | |
|
13 | |
public void setLogLevel(String logLevel, String logFile); |
14 | |
|
15 | |
void severe(String message); |
16 | |
|
17 | |
void severe(String message, Throwable e); |
18 | |
|
19 | |
void warning(String message); |
20 | |
|
21 | |
void warning(String message, Throwable e); |
22 | |
|
23 | |
void info(String message); |
24 | |
|
25 | |
void info(String message, Throwable e); |
26 | |
|
27 | |
void debug(String message); |
28 | |
|
29 | |
LogLevel getLogLevel(); |
30 | |
|
31 | |
void debug(String message, Throwable e); |
32 | |
|
33 | |
} |