PTLog Demo - 1.0

util
Class ConfigLogAPI

java.lang.Object
  extended byutil.ConfigLogAPI

public class ConfigLogAPI
extends java.lang.Object

Utility to configure JDK Logging API.


Constructor Summary
ConfigLogAPI()
           
 
Method Summary
static void config(java.lang.String filename)
          Configure with specified filename.
static java.util.Set getKeySet()
          Get set of keys which will be used by JDK Logging API.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigLogAPI

public ConfigLogAPI()
Method Detail

config

public static void config(java.lang.String filename)
Configure with specified filename.

This sets "java.util.logging.config.file" system property to specified filename.

Parameters:
filename - to be loaded by JDK Logging API framework

getKeySet

public static java.util.Set getKeySet()
Get set of keys which will be used by JDK Logging API.


PTLog Demo - 1.0