SmartFrog 3.10.000

org.smartfrog.examples.dynamicwebserver.logging
Interface Logger

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
LoggerImpl

public interface Logger
extends java.rmi.Remote

Description: Logger is used to log debugging information to standar out or err.


Field Summary
static java.lang.String LOGGING
          name of boolean attribute to enable logging - defaults to true
static java.lang.String VERBOSE
          name of boolean attribute to enable verbose logging - defaults to false
 
Method Summary
 void err(java.lang.String name, java.lang.String message)
          Log message to standard err
 void log(java.lang.String name, java.lang.String message)
          Log message to standard out
 void logOptional(java.lang.String name, java.lang.String message)
          Log message to standard out if Verbose is true
 

Field Detail

LOGGING

static final java.lang.String LOGGING
name of boolean attribute to enable logging - defaults to true

See Also:
Constant Field Values

VERBOSE

static final java.lang.String VERBOSE
name of boolean attribute to enable verbose logging - defaults to false

See Also:
Constant Field Values
Method Detail

err

void err(java.lang.String name,
         java.lang.String message)
         throws java.rmi.RemoteException
Log message to standard err

Parameters:
message - Message to log
Throws:
java.rmi.RemoteException

log

void log(java.lang.String name,
         java.lang.String message)
         throws java.rmi.RemoteException
Log message to standard out

Parameters:
message - Message to log
Throws:
java.rmi.RemoteException

logOptional

void logOptional(java.lang.String name,
                 java.lang.String message)
                 throws java.rmi.RemoteException
Log message to standard out if Verbose is true

Parameters:
message - Message to log
Throws:
java.rmi.RemoteException

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP