paludis
Class Log

java.lang.Object
  extended by paludis.Log

public class Log
extends Object

Functions to control how the Paludis library logs events


Nested Class Summary
static class Log.Level
          Available log levels
 
Method Summary
static int getLogLevel()
          Gets the current log level
static void setLogLevel(int level)
          Sets the log level
static void setProgramName(String name)
          Sets the name of the program the Paludis library will prefix to log messages
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setLogLevel

public static void setLogLevel(int level)
Sets the log level

Parameters:
level - Display messages of at least this level
See Also:
Log.Level

getLogLevel

public static int getLogLevel()
Gets the current log level

Returns:
Current log level
See Also:
Log.Level

setProgramName

public static void setProgramName(String name)
Sets the name of the program the Paludis library will prefix to log messages

Parameters:
name - Name to prefix to future log messages