|
Right Java tools for J2EE, Web Service, Grid and more |
| |Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact | |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.acelet.opensource.logging.Alog
License: Apache license.
The purpose of releasing this open source program is to prevent vendor
lock in.
You can code your program using this class to indirectly use Acelet SuperLogging (com.acelet.logging). If you want to swith to another logging package later, you do not need to modify your program. All you have to do is:
1. modify this file to redirect to other logging packages.
2. replace existing com.acelet.opensource.Alog with your modified one.
3. you may have to restart your EJB server to make the changes effective.
This program is just a wrapper. For detailed information about the methods see documents of underlying package, such as com.acelet.logging.Logging.
Visit http://www.ACElet.com for more information.
| Field Summary | |
static int |
CONFIG
Log level value: for config information in debugging. |
static int |
FINE
Log level value: for information such as recoverable failures. |
static int |
FINER
Log level value: for information about entering or returning a method, or throwing an exception. |
static int |
FINEST
Log level value: for detail tracing information. |
static int |
INFO
Log level value: for significant messages. |
static int |
SEVERE
Log level value: something will prevent normal program execution. |
static int |
WARNING
Log level value: something has potential problems. |
| Constructor Summary | |
Alog()
|
|
| Method Summary | |
static void |
alert(java.lang.String subject,
java.lang.String message)
|
static void |
error(java.lang.String text,
int level,
java.lang.String fullClassName,
java.lang.String methodName,
java.lang.String baseFileName,
int lineNumber)
|
static void |
log(java.lang.String msg,
int level)
|
static void |
log(java.lang.String msg,
int level,
java.lang.String producer,
java.lang.String why)
|
static void |
log(java.lang.String text,
int level,
java.lang.String fullClassName,
java.lang.String methodName,
java.lang.String baseFileName,
int lineNumber)
|
static void |
sendMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String text)
|
static void |
sendMail(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String text)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int SEVERE
public static int WARNING
public static int INFO
public static int CONFIG
public static int FINE
public static int FINER
public static int FINEST
| Constructor Detail |
public Alog()
| Method Detail |
public static void alert(java.lang.String subject,
java.lang.String message)
public static void error(java.lang.String text,
int level,
java.lang.String fullClassName,
java.lang.String methodName,
java.lang.String baseFileName,
int lineNumber)
public static void log(java.lang.String msg,
int level)
public static void log(java.lang.String msg,
int level,
java.lang.String producer,
java.lang.String why)
public static void log(java.lang.String text,
int level,
java.lang.String fullClassName,
java.lang.String methodName,
java.lang.String baseFileName,
int lineNumber)
public static void sendMail(java.lang.String to,
java.lang.String from,
java.lang.String subject,
java.lang.String text)
throws java.lang.Exception
java.lang.Exception
public static void sendMail(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.lang.String subject,
java.lang.String text)
throws java.lang.Exception
java.lang.Exception
|
Copyright Acelet Corporation. 2000-2007. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||