info.informatica.log
Class LogConfig

java.lang.Object
  extended by info.informatica.log.LogConfig

public class LogConfig
extends Object

Logging system configuration

Version:
1.02
Author:
amengual at informatica dot info

Constructor Summary
LogConfig(BufferedReader re)
           
LogConfig(File f)
           
 
Method Summary
 void addRule(LogRule rule)
          This will rarely be used
 LogRule[] getRules()
           
 int getRulesCount()
           
static int levelCode(String s)
           
static String levelString(int level)
           
 LogRule parseLine(String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogConfig

public LogConfig(File f)
          throws IOException,
                 LogException
Throws:
IOException
LogException

LogConfig

public LogConfig(BufferedReader re)
          throws IOException,
                 LogException
Throws:
IOException
LogException
Method Detail

parseLine

public LogRule parseLine(String s)
                  throws LogException
Throws:
LogException

addRule

public void addRule(LogRule rule)
This will rarely be used


levelCode

public static int levelCode(String s)

levelString

public static String levelString(int level)

getRules

public LogRule[] getRules()

getRulesCount

public int getRulesCount()