|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.logging.LogSetupHelper
public class LogSetupHelper
This class is used to help with setting up the logging.
Constructor Summary | |
---|---|
LogSetupHelper()
|
Method Summary | |
---|---|
static void |
initLogging(java.io.OutputStream stdout,
java.io.OutputStream stderr)
Initialise the logging with default settings, and send the output to the streams. |
static void |
initLogingFromConfigFile(java.io.File logConfigFile)
Initialise the logging using the given configuration file |
static void |
initLogingInternalConfigFile(java.lang.String configName)
Initialise the logging using the configuration file stored in the same package as this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogSetupHelper()
Method Detail |
---|
public static void initLogingFromConfigFile(java.io.File logConfigFile)
logConfigFile
- The logging configuration filepublic static void initLogingInternalConfigFile(java.lang.String configName)
configName
- The name of the configuration file stored in the same package as this class.public static void initLogging(java.io.OutputStream stdout, java.io.OutputStream stderr)
stdout
- The stdout streamstderr
- The stderr stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |