public interface Logback
Modifier and Type | Method and Description |
---|---|
URLSha |
getLastSha()
Return the SHA of the latest LOGBack configuration loaded.
|
String |
getLoggerName()
Get the current LOGBack logger name
|
void |
log(String msg)
Send the message to LOGBack
|
boolean |
refresh()
Check for LOGBack configuration and reload when changed.
|
Logback |
setLoggerName(String loggerName)
Define the LOGBack logger name to use
|
Logback setLoggerName(String loggerName)
loggerName
- the logger name to useString getLoggerName()
void log(String msg)
msg
- message to send to LOGBackboolean refresh() throws Exception
Exception
- if the configuration refresh failedURLSha getLastSha()
Copyright © 2016–2018. All rights reserved.