ucar.unidata.util
Class LogUtil.LogCategory

java.lang.Object
  extended by ucar.unidata.util.LogUtil.LogCategory
Enclosing class:
LogUtil

public static class LogUtil.LogCategory
extends Object

Class LogCategory serves as a wrapper around some (undefined for now) logging facility.

Version:
$Revision: 1.98 $
Author:
IDV Development Team

Constructor Summary
LogUtil.LogCategory(String name)
          Create it
 
Method Summary
 void debug(String msg)
          Log the debug message
 void error(String msg)
          Log the error message
 boolean isDebugEnabled()
          Is debug enabled?
 void warn(String msg)
          Log the error message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUtil.LogCategory

public LogUtil.LogCategory(String name)
Create it

Parameters:
name - The name
Method Detail

debug

public void debug(String msg)
Log the debug message

Parameters:
msg - The message

error

public void error(String msg)
Log the error message

Parameters:
msg - The message

warn

public void warn(String msg)
Log the error message

Parameters:
msg - The message

isDebugEnabled

public boolean isDebugEnabled()
Is debug enabled?

Returns:
true if debug is enabled