net.praqma.logging
Class Logging

java.lang.Object
  extended by net.praqma.logging.Logging

public class Logging
extends Object


Nested Class Summary
static class Logging.ComparePollLogs
           
static class Logging.PollLoggingFile
           
 
Field Summary
static String LOGFILENAME
           
static String POLLLOGPATH
           
 
Method Summary
static File getLogFile(File logDir, String name)
           
static File[] getLogs(File logDir)
           
static Logging.PollLoggingFile getPollLogFile(File log)
           
static List<Logging.PollLoggingFile> getPollLogs(File path)
           
static void prune(File[] logs, int days)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGFILENAME

public static final String LOGFILENAME
See Also:
Constant Field Values

POLLLOGPATH

public static final String POLLLOGPATH
See Also:
Constant Field Values
Method Detail

getLogs

public static File[] getLogs(File logDir)

getPollLogFile

public static Logging.PollLoggingFile getPollLogFile(File log)

getPollLogs

public static List<Logging.PollLoggingFile> getPollLogs(File path)

prune

public static void prune(File[] logs,
                         int days)

getLogFile

public static File getLogFile(File logDir,
                              String name)


Copyright © 2004-2013. All Rights Reserved.