public final class Log
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
isReady
Flag to know if the Log has been activated
|
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
static void |
close()
Method to close the Log system.
|
static void |
exception(java.lang.Exception e)
Method that prints in the Exception Log File the Stack Trace of an Exception.
|
static void |
open()
Open the Log files.
|
static void |
open(java.lang.String XMLpath,
java.lang.String ExceptionPath)
OPen the Log files using the given paths to save them.
|
static void |
print(java.lang.String string)
Method to print a message in the Log System.
|
static void |
sPrint(java.lang.String string)
Method to print a message in the System Terminal
|
static void |
xClose(java.lang.String label)
Method that close a node of the XML Log file.
|
static void |
xOpen(java.lang.String label)
Method that open a new node of the XML Log file.
|
static void |
xPrint(java.lang.String string)
Method to print a message in the XML Log File
|
public static void open()
public static void open(java.lang.String XMLpath, java.lang.String ExceptionPath)
XMLpath
- Path where save the XML Log FileExceptionPath
- Path where save the Exception Log Filepublic static void close()
public static void sPrint(java.lang.String string)
string
- Message to print.public static void xPrint(java.lang.String string)
string
- Message to printpublic static void xOpen(java.lang.String label)
label
- Name of the node to be opened.public static void xClose(java.lang.String label)
label
- Name of the node to be closed.public static void exception(java.lang.Exception e)
e
- Exception to be printed.public static void print(java.lang.String string)
sPrint(String)
and xPrint(String)
.string
- Message to print in the Log system.