public final class LogCentral extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> Class<T> |
forceInit(Class<T> c)
Forces that the specified class is initialized.
|
static void |
registerLog(LogController controller)
Registers the specified
LogController, which represents a logdoc Log class. |
static void |
setLocale(String newLocale)
Sets the locale on all logdoc
Log classes. |
public static <T> Class<T> forceInit(Class<T> c)
c - the Class to initialize, cannot be null.NullPointerException - if c == null.public static void registerLog(LogController controller) throws UnsupportedLocaleException
LogController, which represents a logdoc Log class.controller - the LogController, cannot be null.UnsupportedLocaleException - if LogController does not support the current Locale.public static void setLocale(String newLocale) throws IllegalArgumentException, UnsupportedLocaleException
Log classes.newLocale - the new locale, cannot be null.IllegalArgumentException - if newLocale == null.UnsupportedLocaleException - if the specified locale is not supported by all registered logdoc Log classes.Copyright © 2003-2013. All Rights Reserved.