|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.beasys.commerce.util.DefaultLog
Deprecated Use Weblogic Logging infrastructure - see http://e-docs.bea.com/wls/docs61/i18n/index.html
public class DefaultLog
Default log implementation, it goes to System.err.
| Field Summary | |
|---|---|
protected static String |
COMMADeprecated |
protected static String |
DEFAULT_APP_NAMEDeprecated |
protected int |
minimumLevelDeprecated |
protected static String |
QUOTEDeprecated |
protected boolean |
showDebugDeprecated |
protected boolean |
showDeprecatedDeprecated |
protected static String |
SPACEDeprecated |
| Fields inherited from interface com.beasys.commerce.util.Log |
|---|
LOG_DEBUG, LOG_DEPRECATED, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_SECURITY, LOG_WARNING |
| Constructor Summary | |
|---|---|
DefaultLog()Deprecated Default constructor. |
|
| Method Summary | |
|---|---|
protected String |
assembleMsg(int aLevel, String anAppName, String aMsg)Deprecated Assemble the message into the expected output. |
void |
debug(String aMsg)Deprecated Debug. |
void |
deprecated(String aMsg)Deprecated Deprecated. |
int |
getMinimumLevel()Deprecated Get minimum level. |
boolean |
getShowDebug()Deprecated Get show debug. |
boolean |
getShowDeprecated()Deprecated Get show deprecated. |
void |
info(String aMsg)Deprecated Write to the logs, with extra information added. |
void |
info(String aMsg, Throwable anException)Deprecated Write to the logs, with extra information added. |
void |
log(int aLevel, String aMsg)Deprecated Write to the weblogic logs, with extra information added. |
void |
log(int aLevel, String appName, String aMsg)Deprecated Write to the logs, with extra information added. |
void |
log(int aLevel, String appName, String aMsg, Throwable anException)Deprecated Write to the logs, with extra information added. |
void |
log(int aLevel, String aMsg, Throwable anException)Deprecated Write to the weblogic logs, with extra information added. |
protected void |
logOutput(int aLevel, String anAppName, String aMsg, Throwable anException)Deprecated Log the output. |
void |
setMinimumLevel(int aLevel)Deprecated Set minimum level. |
void |
setShowDebug(boolean aBool)Deprecated Set show debug. |
void |
setShowDeprecated(boolean aBool)Deprecated Set show deprecated. |
protected String |
textForLevel(int aLevel)Deprecated Text for level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String QUOTE
protected static final String SPACE
protected static final String COMMA
protected static final String DEFAULT_APP_NAME
protected int minimumLevel
protected boolean showDeprecated
protected boolean showDebug
| Constructor Detail |
|---|
public DefaultLog()
| Method Detail |
|---|
protected String textForLevel(int aLevel)
aLevel -String
protected String assembleMsg(int aLevel,
String anAppName,
String aMsg)
aLevel -anAppName -aMsg -String
protected void logOutput(int aLevel,
String anAppName,
String aMsg,
Throwable anException)
aLevel -anAppName - the application nameaCompleteMsg -anException -public void debug(String aMsg)
debug in interface LogaMsg -public void info(String aMsg)
info in interface LogString - the message, if null it will be ignored.
public void info(String aMsg,
Throwable anException)
info in interface LogString - the message, if null it will be ignored.Throwable - the exception;public void deprecated(String aMsg)
deprecated in interface LogaMsg -
public void log(int aLevel,
String aMsg)
log in interface Logint - aLevel Possible error levels are: LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITYString - the message, if null it will ignore.
public void log(int aLevel,
String aMsg,
Throwable anException)
log in interface Logint - aLevel Possible error levels are: LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITYString - the message, if null it will ignore.Throwable - the exception.
public void log(int aLevel,
String appName,
String aMsg)
log in interface Logint - aLevel Possible error levels are: LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITYappName - the name of the application logging the messageString - the message, if null it will ignore.
public void log(int aLevel,
String appName,
String aMsg,
Throwable anException)
log in interface Logint - aLevel Possible error levels are: LOG_DEBUG LOG_INFO LOG_WARNING LOG_ERROR LOG_FATAL LOG_SECURITYappName - the name of the application logging the messageString - the message, if null it will ignore.Throwable - the exception.public void setMinimumLevel(int aLevel)
setMinimumLevel in interface LogaLevel -public int getMinimumLevel()
getMinimumLevel in interface Logintpublic void setShowDeprecated(boolean aBool)
setShowDeprecated in interface LogaBool -public boolean getShowDeprecated()
getShowDeprecated in interface Logbooleanpublic void setShowDebug(boolean aBool)
setShowDebug in interface LogaBool -public boolean getShowDebug()
getShowDebug in interface Logboolean
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.