Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: util :: logging ::
interface XLogger
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XLogger
Description Local logging interface derived from the final 1.4 j2sdk java.util.logging interface. For speedup the XLoggerRemote interface should be used by any component implementing this interface for remote communication. This will enable some prechecks before the costly remote logging call is made. Since version OpenOffice.org 1.1.1

Methods' Summary
getLogger | Just to adhere to the API known from the standalone scenario. You can use it to create a new Logger, but to bootstrap the first logger you need a createInstanceWithArguments(string logger) or equivalent.
getLevel | gets logging level of this XLogger
getName | gets name of this XLogger
isLoggable | will this XLogger instance produce any output for the given level? can be used to optimize performance as maybe complex parameter evaluation in the logp call can be omitted if isLoggable evaluates to false
logp | Log a message. The p in logp is derived from "precise" as given is the java.util.logging API

Methods' Details
getLogger
XLogger getLogger( | [in] string | name );
Description Just to adhere to the API known from the standalone scenario. You can use it to create a new Logger, but to bootstrap the first logger you need a createInstanceWithArguments(string logger) or equivalent. Parameter host host of the caller Returns XLogger instance
getLevel
long getLevel(); |  |
Description gets logging level of this XLogger Returns logging level of this XLogger
getName
string getName(); |  |
Description gets name of this XLogger Returns name of this XLogger
isLoggable
boolean isLoggable( | [in] long | level );
Description will this XLogger instance produce any output for the given level? can be used to optimize performance as maybe complex parameter evaluation in the logp call can be omitted if isLoggable evaluates to false Parameter level level to be checked against Returns true if there will be some output for this XLogger for the given level, false otherwise
logp
[oneway] void logp( | [in] long [in] string [in] string [in] string | level, sourceClass, sourceMethod, msg );
Description Log a message. The p in logp is derived from "precise" as given is the java.util.logging API Parameter level the log level of this message Parameter sourceClass name of class that issued the logging request Parameter sourceMethod name of method that issued the logging request Parameter msg the string message

Top of Page

Copyright © 2003 Sun Microsystems, Inc.