Package logger
Class Logger
java.lang.Object
logger.Logger
- All Implemented Interfaces:
Closeable,AutoCloseable
public class Logger extends Object implements Closeable, AutoCloseable
A simple logger for java.
The logger can log to standart output streams or to a .log file. When logging to the standart streams, there is an option to enable ANSI codes. When logging to a .log file, the logger will create a .log file with the given name if there is no .log file with the same name. The path to a folder can be specified to search for the .log file there.
The logger can log in 4 different levels:
- INFO: used to log information.
- DEBUG: used to log debugging information.
- WARNING: used to log warnings.
- ERROR: used to log errors.
-
Constructor Summary
Constructors Constructor Description Logger(PrintStream printStream)Creates a logger which writes to the given print stream.Logger(PrintStream printStream, boolean ansi)Creates a logger which writes to the given print stream.Logger(PrintStream printStream, Locale locale)Creates a logger whhich writes to the given print stream.Logger(PrintStream printStream, Locale locale, boolean ansi)Logger(String name)Creates a logger with the given name.Logger(String name, boolean ansi)Creates a logger with the given name.Logger(String name, Locale locale)Creates a logger with the given name.Logger(String name, Locale locale, boolean ansi)Creates a logger with the given name.Logger(String name, Locale locale, String path)Creates a logger with the given name.Logger(String name, Locale locale, String path, boolean ansi)Creates a logger with the given name. -
Method Summary
Modifier and Type Method Description voidclose()Closes the logger.voiddebug(boolean bool)Logs the boolean without a new line with a severity level of DEBUG.voiddebug(boolean[] boolArray)Logs the boolean array without a new line with severity level of DEBUG.voiddebug(byte byteInteger)Logs the byte without a new line with a severity level of DEBUG.voiddebug(byte[] byteArray)Logs the byte array without a new line with severity level of DEBUG.voiddebug(char character)Logs the char without a new line with a severity level of DEBUG.voiddebug(char[] charArray)Logs the char array without a new line with severity level of DEBUG.voiddebug(double fraction)Logs the double without a new line with a severity level of DEBUG.voiddebug(double[] doubleArray)Logs the double array without a new line with severity level of DEBUG.voiddebug(float floatFraction)Logs the float without a new line with a severity level of DEBUG.voiddebug(float[] floatArray)Logs the float array without a new line with severity level of DEBUG.voiddebug(int integer)Logs the int without a new line with a severity level of DEBUG.voiddebug(int[] intArray)Logs the int array without a new line with severity level of DEBUG.voiddebug(long longInteger)Logs the long without a new line with a severity level of DEBUG.voiddebug(long[] longArray)Logs the long array without a new line with severity level of DEBUG.voiddebug(short shortInteger)Logs the short without a new line with a severity level of DEBUG.voiddebug(short[] shortArray)Logs the short array without a new line with severity level of DEBUG.voiddebug(Object object)Logs the object without a new line with severity level of DEBUG.voiddebug(Object[] objectArray)Logs the object array without a new line with severity level DEBUG.voiddebug(Throwable throwable)Logs the throwable without a new line with severity level of DEBUG.voiddebugln(boolean bool)Logs the boolean with a new line with a severity level of DEBUG.voiddebugln(boolean[] boolArray)Logs the boolean array with a new line with severity level of DEBUG.voiddebugln(byte byteInteger)Logs the byte with a new line with a severity level of DEBUG.voiddebugln(byte[] byteArray)Logs the byte array with a new line with severity level of DEBUG.voiddebugln(char character)Logs the char with a new line with a severity level of DEBUG.voiddebugln(char[] charArray)Logs the char array with a new line with severity level of DEBUG.voiddebugln(double fraction)Logs the double with a new line with a severity level of DEBUG.voiddebugln(double[] doubleArray)Logs the double array with a new line with severity level of DEBUG.voiddebugln(float floatFraction)Logs the float with a new line with a severity level of DEBUG.voiddebugln(float[] floatArray)Logs the float array with a new line with severity level of DEBUG.voiddebugln(int integer)Logs the int with a new line with a severity level of DEBUG.voiddebugln(int[] intArray)Logs the int array with a new line with severity level of DEBUG.voiddebugln(long longInteger)Logs the long with a new line with a severity level of DEBUG.voiddebugln(long[] longArray)Logs the long array with a new line with severity level of DEBUG.voiddebugln(short shortInteger)Logs the short with a new line with a severity level of DEBUG.voiddebugln(short[] shortArray)Logs the short array with a new line with severity level of DEBUG.voiddebugln(Object object)Logs the object with a new line with severity level of DEBUG.voiddebugln(Object[] objectArray)Logs the object array with a new line with severity level DEBUG.voiddebugln(Throwable throwable)Logs the throwable with a new line with severity level of DEBUG.voiderror(boolean bool)Logs the boolean without a new line with a severity level of ERROR.voiderror(boolean[] boolArray)Logs the boolean array without a new line with severity level of ERROR.voiderror(byte byteInteger)Logs the byte without a new line with a severity level of ERROR.voiderror(byte[] byteArray)Logs the byte array without a new line with severity level of ERROR.voiderror(char character)Logs the char without a new line with a severity level of ERROR.voiderror(char[] charArray)Logs the char array without a new line with severity level of ERROR.voiderror(double fraction)Logs the double without a new line with a severity level of ERROR.voiderror(double[] doubleArray)Logs the double array without a new line with severity level of ERROR.voiderror(float floatFraction)Logs the float without a new line with a severity level of ERROR.voiderror(float[] floatArray)Logs the float array without a new line with severity level of ERROR.voiderror(int integer)Logs the int without a new line with a severity level of ERROR.voiderror(int[] intArray)Logs the int array without a new line with severity level of ERROR.voiderror(long longInteger)Logs the long without a new line with a severity level of ERROR.voiderror(long[] longArray)Logs the long array without a new line with severity level of ERROR.voiderror(short shortInteger)Logs the short without a new line with a severity level of ERROR.voiderror(short[] shortArray)Logs the short array without a new line with severity level of ERROR.voiderror(Object object)Logs the object without a new line with severity level of ERROR.voiderror(Object[] objectArray)Logs the object array without a new line with severity level ERROR.voiderror(Throwable throwable)Logs the throwable without a new line with severity level of ERROR.voiderrorln(boolean bool)Logs the boolean with a new line with a severity level of ERROR.voiderrorln(boolean[] boolArray)Logs the boolean array with a new line with severity level of ERROR.voiderrorln(byte byteInteger)Logs the byte with a new line with a severity level of ERROR.voiderrorln(byte[] byteArray)Logs the byte array with a new line with severity level of ERROR.voiderrorln(char character)Logs the char with a new line with a severity level of ERROR.voiderrorln(char[] charArray)Logs the char array with a new line with severity level of ERROR.voiderrorln(double fraction)Logs the double with a new line with a severity level of ERROR.voiderrorln(double[] doubleArray)Logs the double array with a new line with severity level of ERROR.voiderrorln(float floatFraction)Logs the float with a new line with a severity level of ERROR.voiderrorln(float[] floatArray)Logs the float array with a new line with severity level of ERROR.voiderrorln(int integer)Logs the int with a new line with a severity level of ERROR.voiderrorln(int[] intArray)Logs the int array with a new line with severity level of ERROR.voiderrorln(long longInteger)Logs the long with a new line with a severity level of ERROR.voiderrorln(long[] longArray)Logs the long array with a new line with severity level of ERROR.voiderrorln(short shortInteger)Logs the short with a new line with a severity level of ERROR.voiderrorln(short[] shortArray)Logs the short array with a new line with severity level of ERROR.voiderrorln(Object object)Logs the object with a new line with severity level of ERROR.voiderrorln(Object[] objectArray)Logs the object array with a new line with severity level ERROR.voiderrorln(Throwable throwable)Logs the throwable with a new line with severity level of ERROR.protected voidfinalize()Closes the logger if it is not already when the object is finalized.voidinfo(boolean bool)Logs the boolean without a new line with a severity level of INFO.voidinfo(boolean[] boolArray)Logs the boolean array without a new line with severity level of INFO.voidinfo(byte byteInteger)Logs the byte without a new line with a severity level of INFO.voidinfo(byte[] byteArray)Logs the byte array without a new line with severity level of INFO.voidinfo(char character)Logs the char without a new line with a severity level of INFO.voidinfo(char[] charArray)Logs the char array without a new line with severity level of INFO.voidinfo(double fraction)Logs the double without a new line with a severity level of INFO.voidinfo(double[] doubleArray)Logs the double array without a new line with severity level of INFO.voidinfo(float floatFraction)Logs the float without a new line with a severity level of INFO.voidinfo(float[] floatArray)Logs the float array without a new line with severity level of INFO.voidinfo(int integer)Logs the int without a new line with a severity level of INFO.voidinfo(int[] intArray)Logs the int array without a new line with severity level of INFO.voidinfo(long longInteger)Logs the long without a new line with a severity level of INFO.voidinfo(long[] longArray)Logs the long array without a new line with severity level of INFO.voidinfo(short shortInteger)Logs the short without a new line with a severity level of INFO.voidinfo(short[] shortArray)Logs the short array without a new line with severity level of INFO.voidinfo(Object object)Logs the object without a new line with severity level of INFO.voidinfo(Object[] objectArray)Logs the object array without a new line with severity level INFO.voidinfo(Throwable throwable)Logs the throwable without a new line with severity level of INFO.voidinfoln(boolean bool)Logs the boolean with a new line with a severity level of INFO.voidinfoln(boolean[] boolArray)Logs the boolean array with a new line with severity level of INFO.voidinfoln(byte byteInteger)Logs the byte with a new line with a severity level of INFO.voidinfoln(byte[] byteArray)Logs the byte array with a new line with severity level of INFO.voidinfoln(char character)Logs the char with a new line with a severity level of INFO.voidinfoln(char[] charArray)Logs the char array with a new line with severity level of INFO.voidinfoln(double fraction)Logs the double with a new line with a severity level of INFO.voidinfoln(double[] doubleArray)Logs the double array with a new line with severity level of INFO.voidinfoln(float floatFraction)Logs the float with a new line with a severity level of INFO.voidinfoln(float[] floatArray)Logs the float array with a new line with severity level of INFO.voidinfoln(int integer)Logs the int with a new line with a severity level of INFO.voidinfoln(int[] intArray)Logs the int array with a new line with severity level of INFO.voidinfoln(long longInteger)Logs the long with a new line with a severity level of INFO.voidinfoln(long[] longArray)Logs the long array with a new line with severity level of INFO.voidinfoln(short shortInteger)Logs the short with a new line with a severity level of INFO.voidinfoln(short[] shortArray)Logs the short array with a new line with severity level of INFO.voidinfoln(Object object)Logs the object with a new line with severity level of INFO.voidinfoln(Object[] objectArray)Logs the object array with a new line with severity level INFO.voidinfoln(Throwable throwable)Logs the throwable with a new line with severity level of INFO.voidwarning(boolean bool)Logs the boolean without a new line with a severity level of WARNING.voidwarning(boolean[] boolArray)Logs the boolean array without a new line with severity level of WARNING.voidwarning(byte byteInteger)Logs the byte without a new line with a severity level of WARNING.voidwarning(byte[] byteArray)Logs the byte array without a new line with severity level of WARNING.voidwarning(char character)Logs the char without a new line with a severity level of WARNING.voidwarning(char[] charArray)Logs the char array without a new line with severity level of WARNING.voidwarning(double fraction)Logs the double without a new line with a severity level of WARNING.voidwarning(double[] doubleArray)Logs the double array without a new line with severity level of WARNING.voidwarning(float floatFraction)Logs the float without a new line with a severity level of WARNING.voidwarning(float[] floatArray)Logs the float array without a new line with severity level of WARNING.voidwarning(int integer)Logs the int without a new line with a severity level of WARNING.voidwarning(int[] intArray)Logs the int array without a new line with severity level of WARNING.voidwarning(long longInteger)Logs the long without a new line with a severity level of WARNING.voidwarning(long[] longArray)Logs the long array without a new line with severity level of WARNING.voidwarning(short shortInteger)Logs the short without a new line with a severity level of WARNING.voidwarning(short[] shortArray)Logs the short array without a new line with severity level of WARNING.voidwarning(Object object)Logs the object without a new line with severity level of WARNING.voidwarning(Object[] objectArray)Logs the object array without a new line with severity level WARNING.voidwarning(Throwable throwable)Logs the throwable without a new line with severity level of WARNING.voidwarningln(boolean bool)Logs the boolean with a new line with a severity level of WARNING.voidwarningln(boolean[] boolArray)Logs the boolean array with a new line with severity level of WARNING.voidwarningln(byte byteInteger)Logs the byte with a new line with a severity level of WARNING.voidwarningln(byte[] byteArray)Logs the byte array with a new line with severity level of WARNING.voidwarningln(char character)Logs the char with a new line with a severity level of WARNING.voidwarningln(char[] charArray)Logs the char array with a new line with severity level of WARNING.voidwarningln(double fraction)Logs the double with a new line with a severity level of WARNING.voidwarningln(double[] doubleArray)Logs the double array with a new line with severity level of WARNING.voidwarningln(float floatFraction)Logs the float with a new line with a severity level of WARNING.voidwarningln(float[] floatArray)Logs the float array with a new line with severity level of WARNING.voidwarningln(int integer)Logs the int with a new line with a severity level of WARNING.voidwarningln(int[] intArray)Logs the int array with a new line with severity level of WARNING.voidwarningln(long longInteger)Logs the long with a new line with a severity level of WARNING.voidwarningln(long[] longArray)Logs the long array with a new line with severity level of WARNING.voidwarningln(short shortInteger)Logs the short with a new line with a severity level of WARNING.voidwarningln(short[] shortArray)Logs the short array with a new line with severity level of WARNING.voidwarningln(Object object)Logs the object with a new line with severity level of WARNING.voidwarningln(Object[] objectArray)Logs the object array with a new line with severity level WARNING.voidwarningln(Throwable throwable)Logs the throwable with a new line with severity level of WARNING.
-
Constructor Details
-
Logger
Creates a logger with the given name. The name is used to find the .log file where to log messages. If the file does not exist, it will be created.- Parameters:
name- The name of the logger.
-
Logger
Creates a logger with the given name. The name is used to find the .log file where to log messages. If the file does not exist, it will be created.- Parameters:
name- The name of the logger.ansi- Whether or not to use ANSI text coloring.
-
Logger
Creates a logger with the given name. The name is used to find the .log file where to log messages. If the file does not exist, it will be created.- Parameters:
name- The name of the logger.locale- The locale of the machine. The locale is used to create the date.- See Also:
DateMaker
-
Logger
Creates a logger with the given name. The name is used to find the .log file where to log messages. If the file does not exist, it will be created.- Parameters:
name- The name of the logger.locale- The locale of the machine. The locale is used to create the date.ansi- Whether or not to use ANSI text coloring.- See Also:
DateMaker
-
Logger
Creates a logger with the given name. The name is used to find the .log file where to log messages. If the file does not exist, it will be created.- Parameters:
name- The name of the logger.locale- The locale of the machine. The locale is used to create the date.path- The path to the directory where to search for the .log file.- See Also:
DateMaker
-
Logger
Creates a logger with the given name. The name is used to find the .log file where to log messages. If the file does not exist, it will be created.- Parameters:
name- The name of the logger.locale- The locale of the machine. The locale is used to create the date.path- The path to the directory where to search for the .log file.ansi- Whether or not to use ANSI text coloring.- See Also:
DateMaker
-
Logger
Creates a logger which writes to the given print stream.- Parameters:
printStream- The print stream.
-
Logger
Creates a logger which writes to the given print stream.- Parameters:
printStream- The print stream.ansi- Whether or not the logger should use ANSI colors.
-
Logger
Creates a logger whhich writes to the given print stream.- Parameters:
printStream- The print stream.locale- The locale of the machine. The locale is used to create the date.
-
Logger
-
-
Method Details
-
close
public void close()Closes the logger. Once the logger is closed, it cannot be used again. it is recommended to close the logger at the end of execution- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
finalize
Closes the logger if it is not already when the object is finalized. -
info
public void info(boolean bool)Logs the boolean without a new line with a severity level of INFO.- Parameters:
bool- The boolean.
-
infoln
public void infoln(boolean bool)Logs the boolean with a new line with a severity level of INFO.- Parameters:
bool- The boolean.
-
info
public void info(byte byteInteger)Logs the byte without a new line with a severity level of INFO.- Parameters:
byteInteger- The byte.
-
infoln
public void infoln(byte byteInteger)Logs the byte with a new line with a severity level of INFO.- Parameters:
byteInteger- The byte.
-
info
public void info(short shortInteger)Logs the short without a new line with a severity level of INFO.- Parameters:
shortInteger- The short.
-
infoln
public void infoln(short shortInteger)Logs the short with a new line with a severity level of INFO.- Parameters:
shortInteger- The short.
-
info
public void info(int integer)Logs the int without a new line with a severity level of INFO.- Parameters:
integer- The int.
-
infoln
public void infoln(int integer)Logs the int with a new line with a severity level of INFO.- Parameters:
integer- The int.
-
info
public void info(long longInteger)Logs the long without a new line with a severity level of INFO.- Parameters:
longInteger- The long.
-
infoln
public void infoln(long longInteger)Logs the long with a new line with a severity level of INFO.- Parameters:
longInteger- The long.
-
info
public void info(float floatFraction)Logs the float without a new line with a severity level of INFO.- Parameters:
floatFraction- The float.
-
infoln
public void infoln(float floatFraction)Logs the float with a new line with a severity level of INFO.- Parameters:
floatFraction- The float.
-
info
public void info(double fraction)Logs the double without a new line with a severity level of INFO.- Parameters:
fraction- The double.
-
infoln
public void infoln(double fraction)Logs the double with a new line with a severity level of INFO.- Parameters:
fraction- The double.
-
info
public void info(char character)Logs the char without a new line with a severity level of INFO.- Parameters:
character- The char.
-
infoln
public void infoln(char character)Logs the char with a new line with a severity level of INFO.- Parameters:
character- The char.
-
info
Logs the object without a new line with severity level of INFO.- Parameters:
object- The object.
-
infoln
Logs the object with a new line with severity level of INFO.- Parameters:
object- The object.
-
info
Logs the throwable without a new line with severity level of INFO.- Parameters:
throwable- The throwable.
-
infoln
Logs the throwable with a new line with severity level of INFO.- Parameters:
throwable- The throwable.
-
info
public void info(boolean[] boolArray)Logs the boolean array without a new line with severity level of INFO.- Parameters:
boolArray- The boolean array.
-
infoln
public void infoln(boolean[] boolArray)Logs the boolean array with a new line with severity level of INFO.- Parameters:
boolArray- The boolean array.
-
info
public void info(byte[] byteArray)Logs the byte array without a new line with severity level of INFO.- Parameters:
byteArray- The byte array.
-
infoln
public void infoln(byte[] byteArray)Logs the byte array with a new line with severity level of INFO.- Parameters:
byteArray- The byte array.
-
info
public void info(short[] shortArray)Logs the short array without a new line with severity level of INFO.- Parameters:
shortArray- The short array.
-
infoln
public void infoln(short[] shortArray)Logs the short array with a new line with severity level of INFO.- Parameters:
shortArray- The short array.
-
info
public void info(int[] intArray)Logs the int array without a new line with severity level of INFO.- Parameters:
intArray- The int array.
-
infoln
public void infoln(int[] intArray)Logs the int array with a new line with severity level of INFO.- Parameters:
intArray- The int array.
-
info
public void info(long[] longArray)Logs the long array without a new line with severity level of INFO.- Parameters:
longArray- The long array.
-
infoln
public void infoln(long[] longArray)Logs the long array with a new line with severity level of INFO.- Parameters:
longArray- The long array.
-
info
public void info(float[] floatArray)Logs the float array without a new line with severity level of INFO.- Parameters:
floatArray- The float array.
-
infoln
public void infoln(float[] floatArray)Logs the float array with a new line with severity level of INFO.- Parameters:
floatArray- The float array.
-
info
public void info(double[] doubleArray)Logs the double array without a new line with severity level of INFO.- Parameters:
doubleArray- The double array.
-
infoln
public void infoln(double[] doubleArray)Logs the double array with a new line with severity level of INFO.- Parameters:
doubleArray- The double array.
-
info
public void info(char[] charArray)Logs the char array without a new line with severity level of INFO.- Parameters:
charArray- The char array.
-
infoln
public void infoln(char[] charArray)Logs the char array with a new line with severity level of INFO.- Parameters:
charArray- The char array.
-
info
Logs the object array without a new line with severity level INFO.- Parameters:
objectArray- The object array.
-
infoln
Logs the object array with a new line with severity level INFO.- Parameters:
objectArray- The object array.
-
debug
public void debug(boolean bool)Logs the boolean without a new line with a severity level of DEBUG.- Parameters:
bool- The boolean.
-
debugln
public void debugln(boolean bool)Logs the boolean with a new line with a severity level of DEBUG.- Parameters:
bool- The boolean.
-
debug
public void debug(byte byteInteger)Logs the byte without a new line with a severity level of DEBUG.- Parameters:
byteInteger- The byte.
-
debugln
public void debugln(byte byteInteger)Logs the byte with a new line with a severity level of DEBUG.- Parameters:
byteInteger- The byte.
-
debug
public void debug(short shortInteger)Logs the short without a new line with a severity level of DEBUG.- Parameters:
shortInteger- The short.
-
debugln
public void debugln(short shortInteger)Logs the short with a new line with a severity level of DEBUG.- Parameters:
shortInteger- The short.
-
debug
public void debug(int integer)Logs the int without a new line with a severity level of DEBUG.- Parameters:
integer- The int.
-
debugln
public void debugln(int integer)Logs the int with a new line with a severity level of DEBUG.- Parameters:
integer- The int.
-
debug
public void debug(long longInteger)Logs the long without a new line with a severity level of DEBUG.- Parameters:
longInteger- The long.
-
debugln
public void debugln(long longInteger)Logs the long with a new line with a severity level of DEBUG.- Parameters:
longInteger- The long.
-
debug
public void debug(float floatFraction)Logs the float without a new line with a severity level of DEBUG.- Parameters:
floatFraction- The float.
-
debugln
public void debugln(float floatFraction)Logs the float with a new line with a severity level of DEBUG.- Parameters:
floatFraction- The float.
-
debug
public void debug(double fraction)Logs the double without a new line with a severity level of DEBUG.- Parameters:
fraction- The double.
-
debugln
public void debugln(double fraction)Logs the double with a new line with a severity level of DEBUG.- Parameters:
fraction- The double.
-
debug
public void debug(char character)Logs the char without a new line with a severity level of DEBUG.- Parameters:
character- The char.
-
debugln
public void debugln(char character)Logs the char with a new line with a severity level of DEBUG.- Parameters:
character- The char.
-
debug
Logs the object without a new line with severity level of DEBUG.- Parameters:
object- The object.
-
debugln
Logs the object with a new line with severity level of DEBUG.- Parameters:
object- The object.
-
debug
Logs the throwable without a new line with severity level of DEBUG.- Parameters:
throwable- The throwable.
-
debugln
Logs the throwable with a new line with severity level of DEBUG.- Parameters:
throwable- The throwable.
-
debug
public void debug(boolean[] boolArray)Logs the boolean array without a new line with severity level of DEBUG.- Parameters:
boolArray- The boolean array.
-
debugln
public void debugln(boolean[] boolArray)Logs the boolean array with a new line with severity level of DEBUG.- Parameters:
boolArray- The boolean array.
-
debug
public void debug(byte[] byteArray)Logs the byte array without a new line with severity level of DEBUG.- Parameters:
byteArray- The byte array.
-
debugln
public void debugln(byte[] byteArray)Logs the byte array with a new line with severity level of DEBUG.- Parameters:
byteArray- The byte array.
-
debug
public void debug(short[] shortArray)Logs the short array without a new line with severity level of DEBUG.- Parameters:
shortArray- The short array.
-
debugln
public void debugln(short[] shortArray)Logs the short array with a new line with severity level of DEBUG.- Parameters:
shortArray- The short array.
-
debug
public void debug(int[] intArray)Logs the int array without a new line with severity level of DEBUG.- Parameters:
intArray- The int array.
-
debugln
public void debugln(int[] intArray)Logs the int array with a new line with severity level of DEBUG.- Parameters:
intArray- The int array.
-
debug
public void debug(long[] longArray)Logs the long array without a new line with severity level of DEBUG.- Parameters:
longArray- The long array.
-
debugln
public void debugln(long[] longArray)Logs the long array with a new line with severity level of DEBUG.- Parameters:
longArray- The long array.
-
debug
public void debug(float[] floatArray)Logs the float array without a new line with severity level of DEBUG.- Parameters:
floatArray- The float array.
-
debugln
public void debugln(float[] floatArray)Logs the float array with a new line with severity level of DEBUG.- Parameters:
floatArray- The float array.
-
debug
public void debug(double[] doubleArray)Logs the double array without a new line with severity level of DEBUG.- Parameters:
doubleArray- The double array.
-
debugln
public void debugln(double[] doubleArray)Logs the double array with a new line with severity level of DEBUG.- Parameters:
doubleArray- The double array.
-
debug
public void debug(char[] charArray)Logs the char array without a new line with severity level of DEBUG.- Parameters:
charArray- The char array.
-
debugln
public void debugln(char[] charArray)Logs the char array with a new line with severity level of DEBUG.- Parameters:
charArray- The char array.
-
debug
Logs the object array without a new line with severity level DEBUG.- Parameters:
objectArray- The object array.
-
debugln
Logs the object array with a new line with severity level DEBUG.- Parameters:
objectArray- The object array.
-
warning
public void warning(boolean bool)Logs the boolean without a new line with a severity level of WARNING.- Parameters:
bool- The boolean.
-
warningln
public void warningln(boolean bool)Logs the boolean with a new line with a severity level of WARNING.- Parameters:
bool- The boolean.
-
warning
public void warning(byte byteInteger)Logs the byte without a new line with a severity level of WARNING.- Parameters:
byteInteger- The byte.
-
warningln
public void warningln(byte byteInteger)Logs the byte with a new line with a severity level of WARNING.- Parameters:
byteInteger- The byte.
-
warning
public void warning(short shortInteger)Logs the short without a new line with a severity level of WARNING.- Parameters:
shortInteger- The short.
-
warningln
public void warningln(short shortInteger)Logs the short with a new line with a severity level of WARNING.- Parameters:
shortInteger- The short.
-
warning
public void warning(int integer)Logs the int without a new line with a severity level of WARNING.- Parameters:
integer- The int.
-
warningln
public void warningln(int integer)Logs the int with a new line with a severity level of WARNING.- Parameters:
integer- The int.
-
warning
public void warning(long longInteger)Logs the long without a new line with a severity level of WARNING.- Parameters:
longInteger- The long.
-
warningln
public void warningln(long longInteger)Logs the long with a new line with a severity level of WARNING.- Parameters:
longInteger- The long.
-
warning
public void warning(float floatFraction)Logs the float without a new line with a severity level of WARNING.- Parameters:
floatFraction- The float.
-
warningln
public void warningln(float floatFraction)Logs the float with a new line with a severity level of WARNING.- Parameters:
floatFraction- The float.
-
warning
public void warning(double fraction)Logs the double without a new line with a severity level of WARNING.- Parameters:
fraction- The double.
-
warningln
public void warningln(double fraction)Logs the double with a new line with a severity level of WARNING.- Parameters:
fraction- The double.
-
warning
public void warning(char character)Logs the char without a new line with a severity level of WARNING.- Parameters:
character- The char.
-
warningln
public void warningln(char character)Logs the char with a new line with a severity level of WARNING.- Parameters:
character- The char.
-
warning
Logs the object without a new line with severity level of WARNING.- Parameters:
object- The object.
-
warningln
Logs the object with a new line with severity level of WARNING.- Parameters:
object- The object.
-
warning
Logs the throwable without a new line with severity level of WARNING.- Parameters:
throwable- The throwable.
-
warningln
Logs the throwable with a new line with severity level of WARNING.- Parameters:
throwable- The throwable.
-
warning
public void warning(boolean[] boolArray)Logs the boolean array without a new line with severity level of WARNING.- Parameters:
boolArray- The boolean array.
-
warningln
public void warningln(boolean[] boolArray)Logs the boolean array with a new line with severity level of WARNING.- Parameters:
boolArray- The boolean array.
-
warning
public void warning(byte[] byteArray)Logs the byte array without a new line with severity level of WARNING.- Parameters:
byteArray- The byte array.
-
warningln
public void warningln(byte[] byteArray)Logs the byte array with a new line with severity level of WARNING.- Parameters:
byteArray- The byte array.
-
warning
public void warning(short[] shortArray)Logs the short array without a new line with severity level of WARNING.- Parameters:
shortArray- The short array.
-
warningln
public void warningln(short[] shortArray)Logs the short array with a new line with severity level of WARNING.- Parameters:
shortArray- The short array.
-
warning
public void warning(int[] intArray)Logs the int array without a new line with severity level of WARNING.- Parameters:
intArray- The int array.
-
warningln
public void warningln(int[] intArray)Logs the int array with a new line with severity level of WARNING.- Parameters:
intArray- The int array.
-
warning
public void warning(long[] longArray)Logs the long array without a new line with severity level of WARNING.- Parameters:
longArray- The long array.
-
warningln
public void warningln(long[] longArray)Logs the long array with a new line with severity level of WARNING.- Parameters:
longArray- The long array.
-
warning
public void warning(float[] floatArray)Logs the float array without a new line with severity level of WARNING.- Parameters:
floatArray- The float array.
-
warningln
public void warningln(float[] floatArray)Logs the float array with a new line with severity level of WARNING.- Parameters:
floatArray- The float array.
-
warning
public void warning(double[] doubleArray)Logs the double array without a new line with severity level of WARNING.- Parameters:
doubleArray- The double array.
-
warningln
public void warningln(double[] doubleArray)Logs the double array with a new line with severity level of WARNING.- Parameters:
doubleArray- The double array.
-
warning
public void warning(char[] charArray)Logs the char array without a new line with severity level of WARNING.- Parameters:
charArray- The char array.
-
warningln
public void warningln(char[] charArray)Logs the char array with a new line with severity level of WARNING.- Parameters:
charArray- The char array.
-
warning
Logs the object array without a new line with severity level WARNING.- Parameters:
objectArray- The object array.
-
warningln
Logs the object array with a new line with severity level WARNING.- Parameters:
objectArray- The object array.
-
error
public void error(boolean bool)Logs the boolean without a new line with a severity level of ERROR.- Parameters:
bool- The boolean.
-
errorln
public void errorln(boolean bool)Logs the boolean with a new line with a severity level of ERROR.- Parameters:
bool- The boolean.
-
error
public void error(byte byteInteger)Logs the byte without a new line with a severity level of ERROR.- Parameters:
byteInteger- The byte.
-
errorln
public void errorln(byte byteInteger)Logs the byte with a new line with a severity level of ERROR.- Parameters:
byteInteger- The byte.
-
error
public void error(short shortInteger)Logs the short without a new line with a severity level of ERROR.- Parameters:
shortInteger- The short.
-
errorln
public void errorln(short shortInteger)Logs the short with a new line with a severity level of ERROR.- Parameters:
shortInteger- The short.
-
error
public void error(int integer)Logs the int without a new line with a severity level of ERROR.- Parameters:
integer- The int.
-
errorln
public void errorln(int integer)Logs the int with a new line with a severity level of ERROR.- Parameters:
integer- The int.
-
error
public void error(long longInteger)Logs the long without a new line with a severity level of ERROR.- Parameters:
longInteger- The long.
-
errorln
public void errorln(long longInteger)Logs the long with a new line with a severity level of ERROR.- Parameters:
longInteger- The long.
-
error
public void error(float floatFraction)Logs the float without a new line with a severity level of ERROR.- Parameters:
floatFraction- The float.
-
errorln
public void errorln(float floatFraction)Logs the float with a new line with a severity level of ERROR.- Parameters:
floatFraction- The float.
-
error
public void error(double fraction)Logs the double without a new line with a severity level of ERROR.- Parameters:
fraction- The double.
-
errorln
public void errorln(double fraction)Logs the double with a new line with a severity level of ERROR.- Parameters:
fraction- The double.
-
error
public void error(char character)Logs the char without a new line with a severity level of ERROR.- Parameters:
character- The char.
-
errorln
public void errorln(char character)Logs the char with a new line with a severity level of ERROR.- Parameters:
character- The char.
-
error
Logs the object without a new line with severity level of ERROR.- Parameters:
object- The object.
-
errorln
Logs the object with a new line with severity level of ERROR.- Parameters:
object- The object.
-
error
Logs the throwable without a new line with severity level of ERROR.- Parameters:
throwable- The throwable.
-
errorln
Logs the throwable with a new line with severity level of ERROR.- Parameters:
throwable- The throwable.
-
error
public void error(boolean[] boolArray)Logs the boolean array without a new line with severity level of ERROR.- Parameters:
boolArray- The boolean array.
-
errorln
public void errorln(boolean[] boolArray)Logs the boolean array with a new line with severity level of ERROR.- Parameters:
boolArray- The boolean array.
-
error
public void error(byte[] byteArray)Logs the byte array without a new line with severity level of ERROR.- Parameters:
byteArray- The byte array.
-
errorln
public void errorln(byte[] byteArray)Logs the byte array with a new line with severity level of ERROR.- Parameters:
byteArray- The byte array.
-
error
public void error(short[] shortArray)Logs the short array without a new line with severity level of ERROR.- Parameters:
shortArray- The short array.
-
errorln
public void errorln(short[] shortArray)Logs the short array with a new line with severity level of ERROR.- Parameters:
shortArray- The short array.
-
error
public void error(int[] intArray)Logs the int array without a new line with severity level of ERROR.- Parameters:
intArray- The int array.
-
errorln
public void errorln(int[] intArray)Logs the int array with a new line with severity level of ERROR.- Parameters:
intArray- The int array.
-
error
public void error(long[] longArray)Logs the long array without a new line with severity level of ERROR.- Parameters:
longArray- The long array.
-
errorln
public void errorln(long[] longArray)Logs the long array with a new line with severity level of ERROR.- Parameters:
longArray- The long array.
-
error
public void error(float[] floatArray)Logs the float array without a new line with severity level of ERROR.- Parameters:
floatArray- The float array.
-
errorln
public void errorln(float[] floatArray)Logs the float array with a new line with severity level of ERROR.- Parameters:
floatArray- The float array.
-
error
public void error(double[] doubleArray)Logs the double array without a new line with severity level of ERROR.- Parameters:
doubleArray- The double array.
-
errorln
public void errorln(double[] doubleArray)Logs the double array with a new line with severity level of ERROR.- Parameters:
doubleArray- The double array.
-
error
public void error(char[] charArray)Logs the char array without a new line with severity level of ERROR.- Parameters:
charArray- The char array.
-
errorln
public void errorln(char[] charArray)Logs the char array with a new line with severity level of ERROR.- Parameters:
charArray- The char array.
-
error
Logs the object array without a new line with severity level ERROR.- Parameters:
objectArray- The object array.
-
errorln
Logs the object array with a new line with severity level ERROR.- Parameters:
objectArray- The object array.
-