jdbc:h2:˜/test;TRACE_LEVEL_FILE=4The logger name is 'h2database'.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isEnabled(int
the level level)Implements org. Check the given trace / log level is enabled. |
| public void | setName(String
the new name name)Implements org. Set the name of the database or trace object. |
| public void | write(int
the trace level level, int the id of the module moduleId, String the message s, Throwable the exception (may be null) t)Implements org. Write a message. |
| public void | write(int
the trace level level, String the name of the module module, String the message s, Throwable the exception (may be null) t)Implements org. Write a message. |
| logger | back to summary |
|---|---|
| private final Logger logger | |
| name | back to summary |
|---|---|
| private String name | |
| TraceWriterAdapter | back to summary |
|---|---|
| public TraceWriterAdapter() | |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled(int level) Implements org. Doc from org. Check the given trace / log level is enabled.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) Implements org. Doc from org. Set the name of the database or trace object. | |
| write | back to summary |
|---|---|
| public void write(int level, int moduleId, String s, Throwable t) Implements org. Doc from org. Write a message. | |
| write | back to summary |
|---|---|
| public void write(int level, String module, String s, Throwable t) Implements org. Doc from org. Write a message. | |