Changes for page Release Notes for XWiki 4.2 Milestone 2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.m florea1 +XWiki.ThomasMortagne - Content
-
... ... @@ -20,6 +20,10 @@ 20 20 21 21 {{image reference="ER-releaseNotes.png"/}} 22 22 23 +== Improvements to Extension Manager == 24 + 25 +An administrator of a subwiki can now install XAR extension (as long as it does not require a JAR extension). 26 + 23 23 = For Developers = 24 24 25 25 == Default custom displayers for Easier customization of the way object fields are displayed == ... ... @@ -36,6 +36,31 @@ 36 36 For the moment, the location of the default custom displayer is cached the first time a 37 37 {{/warning}} 38 38 43 +== New API to manipulate log level == 44 + 45 +Several method as been added to ##org.xwiki.logging.LoggerManager## to manipulate the log level of registered loggers. 46 + 47 +{{code language="java"}} 48 + /** 49 + * Associate the passed logger to the passed log level. 50 + * 51 + * @param loggerName the logger 52 + * @param level the level of the logger 53 + */ 54 + void setLoggerLevel(String loggerName, LogLevel level); 55 + 56 + /** 57 + * @param loggerName the logger 58 + * @return the log level associated to the logger 59 + */ 60 + LogLevel getLoggerLevel(String loggerName); 61 + 62 + /** 63 + * @return all the registered loggers 64 + */ 65 + Collection<Logger> getLoggers(); 66 +{{/code}} 67 + 39 39 == Deprecated and Retired projects == 40 40 41 41 <description of deprecated and retired projects>