public class Logger
extends java.lang.Object
| Constructor and Description |
|---|
Logger() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clean()
clean the log directory
|
static void |
error(java.lang.String message)
Write the message into the standard error
|
static void |
info_no_new_line(java.lang.String message)
Write the message into the standard output without new line at the end
|
static void |
info(java.lang.String message)
Write the message into the standard output
|
static void |
infoTime(java.lang.String message)
Write the message into the standard output with the data and time attached
|
static void |
log2File(java.lang.String message)
Write the message into the files.log in the lod directory(if doesn't exists the program creates the dir)
|
static void |
progressMessage(java.lang.String msg)
Write the message into the standard output as a progress bar
|
static void |
time()
Writes only the data and time to the standard output
|
static void |
timeExampleStandard(java.lang.String msg,
int example)
Write the message into the standard output with the data and time attached
|
public static void info(java.lang.String message)
message - - the message to be writtenpublic static void info_no_new_line(java.lang.String message)
message - - the message to be writtenpublic static void infoTime(java.lang.String message)
message - - the message to be writtenpublic static void time()
public static void timeExampleStandard(java.lang.String msg,
int example)
msg - - the message to be writtenexample - - a running idpublic static void progressMessage(java.lang.String msg)
msg - - the message to be writtenpublic static void error(java.lang.String message)
message - - the message to be writtenpublic static void log2File(java.lang.String message)
throws java.io.IOException
message - - tha message to ve writtenjava.io.IOExceptionpublic static void clean()