Java.Util.Logging.Logger Members

The members of Java.Util.Logging.Logger are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.
Constructs a Logger object with the supplied name and resource bundle name; notifiyParentHandlers is set to true.

Public Properties

[read-only]
static
AnonymousLoggerLogger. Gets an anonymous logger to use internally in a thread.
FilterIFilter. Gets the filter used by this logger.
[read-only]
static
GlobalLogger. Returns the global Logger.
[read-only]
static
GlobalLoggerNamestring. The name of the global logger.
LevelLevel. Gets the logging level of this logger.
[read-only]
Namestring. Gets the name of this logger, null for anonymous loggers.
ParentLogger. Gets the nearest parent of this logger in the namespace, a null value will be returned if called on the root logger.
[read-only]
ResourceBundleJava.Util.ResourceBundle. Gets the loaded resource bundle used by this logger to localize logging messages.
[read-only]
ResourceBundleNamestring. Gets the name of the loaded resource bundle used by this logger to localize logging messages.
UseParentHandlersbool. Gets the flag which indicates whether to use the handlers of this logger's parent to publish incoming log records, potentially recursively up the namespace.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddHandler(Handler)
Adds a handler to this logger.
Config(string)
Logs a message of level Level.CONFIG; the message is transmitted to all subscribed handlers.
Entering(string, string)
Logs a message indicating that a method has been entered.
Entering(string, string, Java.Lang.Object)
Logs a message indicating that a method has been entered.
Entering(string, string, Java.Lang.Object[])
Logs a message indicating that a method has been entered.
Exiting(string, string)
Logs a message indicating that a method is exited.
Exiting(string, string, Java.Lang.Object)
Logs a message indicating that a method is exited.
Fine(string)
Logs a message of level Level.FINE; the message is transmitted to all subscribed handlers.
Finer(string)
Logs a message of level Level.FINER; the message is transmitted to all subscribed handlers.
Finest(string)
Logs a message of level Level.FINEST; the message is transmitted to all subscribed handlers.
static
GetAnonymousLogger(string) : Logger
Gets an anonymous logger to use internally in a thread.
GetHandlers() : Handler[]
Gets all the handlers associated with this logger.
static
GetLogger(string) : Logger
Gets a named logger.
static
GetLogger(string, string) : Logger
Gets a named logger associated with the supplied resource bundle.
Info(string)
Logs a message of level Level.INFO; the message is transmitted to all subscribed handlers.
IsLoggable(Level) : bool
Determines whether this logger will actually log messages of the specified level.
Log(LogRecord)
Logs a given log record.
Log(Level, string)
Logs a message of the specified level.
Log(Level, string, Java.Lang.Object)
Logs a message of the specified level with the supplied parameter.
Log(Level, string, Java.Lang.Object[])
Logs a message of the specified level with the supplied parameter array.
Log(Level, string, Java.Lang.Throwable)
Logs a message of the specified level with the supplied Throwable object.
Logp(Level, string, string, string)
Logs a message of the given level with the specified source class name and source method name.
Logp(Level, string, string, string, Java.Lang.Object)
Logs a message of the given level with the specified source class name, source method name and parameter.
Logp(Level, string, string, string, Java.Lang.Object[])
Logs a message of the given level with the specified source class name, source method name and parameter array.
Logp(Level, string, string, string, Java.Lang.Throwable)
Logs a message of the given level with the specified source class name, source method name and Throwable object.
Logrb(Level, string, string, string, string)
Logs a message of the given level with the specified source class name and source method name, using the given resource bundle to localize the message.
Logrb(Level, string, string, string, string, Java.Lang.Object)
Logs a message of the given level with the specified source class name, source method name and parameter, using the given resource bundle to localize the message.
Logrb(Level, string, string, string, string, Java.Lang.Object[])
Logs a message of the given level with the specified source class name, source method name and parameter array, using the given resource bundle to localize the message.
Logrb(Level, string, string, string, string, Java.Lang.Throwable)
Logs a message of the given level with the specified source class name, source method name and Throwable object, using the given resource bundle to localize the message.
RemoveHandler(Handler)
Removes a handler from this logger.
Severe(string)
Logs a message of level Level.SEVERE; the message is transmitted to all subscribed handlers.
Throwing(string, string, Java.Lang.Throwable)
Logs a message indicating that an exception is thrown.
Warning(string)
Logs a message of level Level.WARNING; the message is transmitted to all subscribed handlers.