com.cleancode.log
Class LogWriter.Test
java.lang.Object
com.cleancode.log.LogWriter.Test
- Enclosing class:
- LogWriter
public static class LogWriter.Test
- extends Object
A standalone test class to exercise the LogWriter
class.
Creates a couple log files and writes to them;
the expected results are displayed.
Method Summary |
static void |
main(String[] args)
Main program for this standalone test class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogWriter.Test
public LogWriter.Test()
main
public static void main(String[] args)
throws IOException
- Main program for this standalone test class.
Usage | InputOptions Source |
java LogWriter$Test | default values |
java LogWriter$Test 1 | shows all diags on STDERR |
java LogWriter$Test configFile |
uses config file |
java LogWriter$Test { name=val } |
uses cmdline arguments |
java LogWriter$Test configFile { name=val } |
uses config file plus cmdline args |
- Parameters:
args
- config file name and/or InputOptions
properties
- Throws:
IOException
- if any problems reading the file.
CleanCode Java Libraries |
Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 |