public static synchronized void setLocale ( String newLocale ) throws UnsupportedLocaleException { Preconditions . checkArgument ( newLocale == null , "newLocale == null" ) ; if ( ! newLocale . equals ( CURRENT_LOCALE ) ) { LogCentral . setLocale ( newLocale ) ; CURRENT_LOCALE = newLocale ; } }
Sets the locale for the complete Logdoc library .