public class Log extends Object
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
static void |
notice(String message,
String className)
It logs notify log with class name.
|
static void |
warning(Exception exception)
It logs an exception stack trace.
|
static void |
warning(Exception exception,
String className)
It logs an exception stack trace with the class name.
|
static void |
warning(Exception exception,
String className,
boolean alert)
It logs an exception stack trace with the class name.
|
public static void warning(Exception exception)
exception
- Exception object.public static void warning(Exception exception, String className)
exception
- Exception object.className
- The name of the class when the exception is happened.public static void warning(Exception exception, String className, boolean alert)
exception
- Exception object.className
- The name of the class when the exception is happened.alert
- When alert is true it is print out the exception.Copyright © 2015. All rights reserved.