wheelsunh.users
Class Log

java.lang.Object
  extended by wheelsunh.users.Log

public class Log
extends java.lang.Object

Class that models a 2D line. Has methods allowing you to adjust the line's points, thickness, color, etc.


Constructor Summary
Log()
           
 
Method Summary
static void both(java.lang.String fileName)
          Log messages to System.out and file with name filename.
static void console()
          Log messages to System.out only
static void file(java.lang.String fileName)
          Log messages to file with name filename only.
static void off()
           
static void on()
           
static void pause()
          Pause execution until the user hits return on the keyboard.
static void pause(java.lang.String str)
          Pause execution until the user hits return on the keyboard.
static void println()
          Print out line number information for this call.
static void println(java.lang.String s)
          Print out message with method and line number information for this call.
static void trace()
          Print a stack trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log

public Log()
Method Detail

println

public static void println(java.lang.String s)
Print out message with method and line number information for this call.


println

public static void println()
Print out line number information for this call.


file

public static void file(java.lang.String fileName)
Log messages to file with name filename only.


both

public static void both(java.lang.String fileName)
Log messages to System.out and file with name filename.


trace

public static void trace()
Print a stack trace.


pause

public static void pause(java.lang.String str)
Pause execution until the user hits return on the keyboard.


pause

public static void pause()
Pause execution until the user hits return on the keyboard.


console

public static void console()
Log messages to System.out only


off

public static void off()

on

public static void on()