Oracle® Webcenter Interaction Development Kit 10.3.0.0.0

LogFactory Members

LogFactory overview

Public Static Methods

GetApplicationName Gets the logging application name initialized or configured into the IDK logging framework, or empty string if logging is not initialized. This matches the "server" name required by Logging Spy.
GetLoggerOverloaded. Returns a logger instance associated with the named component and the given class. If logging is not initialized, the framework will attempt to initialize logging from the external configuration file (Web.config). If a value is found for the logging application name, the logging framework will be initialized before the logger instance is returned. Any log messages sent to the logger before the logging framework is initialized will be discarded.
Initialize Initializes logging with the specified logging application name and whether or not to send log messages to receivers on the network. Any logger instances obtained before the logging framework is initialized will be enabled to send messages after this method is called successfully. If an external configuration file is present (Web.config), the values set in the configuration file take priority over values passed in the parameters.
IsInitialized Returns true if the IDK logging framework has been initialized either from the logging API or from external configuration. Returns false if the logging framework has not been initialized, including the case of an unusable external configuration (for example, from Web.config). Log messages sent to an uninitialized logger will be discarded.
IsLoggingToNetwork Returns true if the IDK logging framework is configured to send log messages to receivers on the local network, and false if messages are only sent to receivers on the local machine.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

See Also

LogFactory Class | Plumtree.Remote.Logging Namespace