|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.functest.rest.admin.LoggingResource
public class LoggingResource
Constructor Summary | |
---|---|
LoggingResource()
|
Method Summary | |
---|---|
java.lang.String |
getLoggingLevel(java.lang.String loggerName)
|
boolean |
logMessage(java.lang.String destination,
java.lang.String message)
Log a message to the server's console. |
java.lang.String |
setLoggingLevel(java.lang.String loggerName,
java.lang.String level)
Change the level of the specified logger. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingResource()
Method Detail |
---|
public java.lang.String getLoggingLevel(java.lang.String loggerName)
public java.lang.String setLoggingLevel(java.lang.String loggerName, java.lang.String level)
Change the level of the specified logger.
The level parameter can be one of -
loggerName
- the full name of the logger e.g. com.atlassian.confluence.functest.rest.LoggingResourcelevel
- the level to change the logger to
BadRequestException
- if the incoming loggerName is omittedpublic boolean logMessage(java.lang.String destination, java.lang.String message)
destination
- The destination of the message to be loggedmessage
- The text message to be logged to the console
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |