com.google.gwt.libideas.logging.server
Class ServerLogManager

java.lang.Object
  extended by com.google.gwt.libideas.logging.shared.Log
      extended by com.google.gwt.libideas.logging.server.ServerLogManager

public class ServerLogManager
extends Log

A convenience class to enable shared code to use logging while on the server.


Field Summary
 
Fields inherited from class com.google.gwt.libideas.logging.shared.Log
CATEGORY
 
Constructor Summary
ServerLogManager()
           
 
Method Summary
static void init()
          Make sure that the ServerLogManager is initialized.
static void useBasicLogging()
          A basic implementation of server logging.
static void useJavaLogging()
          Adaptor to use java logging.
static void useLibrary(com.google.gwt.libideas.logging.shared.impl.LogImpl libraryAdaptor)
          For non built-in logging libraries, add the appropriate LogImpl class here.
 
Methods inherited from class com.google.gwt.libideas.logging.shared.Log
addLogHandler, clearLogHandlers, config, config, fine, fine, finer, finer, finest, finest, getDefaultLevel, getLogImpl, info, info, initLogImpl, isLoggable, isLoggingMinimal, isLoggingSupported, levelIterator, log, parseLevel, removeLogHandler, setDefaultLevel, setLevel, severe, severe, severe, splitCategory, warning, warning, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerLogManager

public ServerLogManager()
Method Detail

init

public static void init()
Make sure that the ServerLogManager is initialized.


useBasicLogging

public static void useBasicLogging()
A basic implementation of server logging. Here you can add ArrayList and System handlers.


useJavaLogging

public static void useJavaLogging()
Adaptor to use java logging. Each category is mapped to a logger. All such loggers are children of the gwt logger.


useLibrary

public static void useLibrary(com.google.gwt.libideas.logging.shared.impl.LogImpl libraryAdaptor)
For non built-in logging libraries, add the appropriate LogImpl class here. For example, here is where a Log4J LogImpl adaptor would go.