|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogContext
Classes that implement this interface are capable of supplying context information for a log entry including programmer, user and admin locales and an application specific context string.
Nested Class Summary | |
---|---|
static class |
ILogContext.DefaultLogContext
This class implements a default log context. |
Field Summary | |
---|---|
static ILogContext |
DEFAULT_CONTEXT
Provides a default log context returning the default VM locale and no application context. |
Method Summary | |
---|---|
java.util.Locale |
getAdminLocale()
Gets the current locale of the administrator. |
java.lang.String |
getApplicationContext()
Gets the application specific context for the entry. |
java.util.Locale |
getProgrammerLocale()
Gets the current locale of the programmer. |
java.util.Locale |
getUserLocale()
Gets the current locale of the user. |
Field Detail |
---|
static final ILogContext DEFAULT_CONTEXT
Method Detail |
---|
java.util.Locale getUserLocale()
java.util.Locale getProgrammerLocale()
java.util.Locale getAdminLocale()
java.lang.String getApplicationContext()
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |