BoilerPlate-LightweightLogging Service OMG Formal/03-11-03 |
#include <BPLog.h>
Inheritance diagram for BPLog:
The root superclass for a Logging client. All client classes should declare a member of BPLog& type and assign BPLog::log() to the member. There are two stock implementations:
Public Member Functions | |
virtual void | logSecurityAlarm (const char *producerId, const char *msg)=0 |
virtual void | logFailureAlarm (const char *producerId, const char *msg)=0 |
virtual void | logDegradedAlarm (const char *producerId, const char *msg)=0 |
virtual void | logExceptionError (const char *producerId, const char *msg)=0 |
virtual void | logFlowControlError (const char *producerId, const char *msg)=0 |
virtual void | logRangeError (const char *producerId, const char *msg)=0 |
virtual void | logUsageError (const char *producerId, const char *msg)=0 |
virtual void | logAdministrativeEvent (const char *producerId, const char *msg)=0 |
virtual void | logStatisticReport (const char *producerId, const char *msg)=0 |
virtual void | logDebugReport (const char *producerId, const char *msg, unsigned short debuglevel=10)=0 |
Static Public Member Functions | |
BPLog & | log () |
Protected Member Functions | |
void | log (BPLog *log) |
|
Set the static Log pointer Used by the implementation to set the pointer to the Log
|
|
Obtain the interface to the log Producer Clients obtain a reference to the Logging mechanism by calling BPLog::log().
|
|
Log an Administrative event An administrative event includes events like startup and shutdown. It also includes requests that change the application's configuration
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a debug message A general debugging hook. The debuglevel parm must be greater than 9. If the debug level is less than 10, the operation will add 10 to the inbound level
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a Degraded Alarm A degraded alarm is raised when the system is in a state the inhibits it from performing at peak effeciency. For example, if the system can perform some of its functions but not all of its functions, it is in a degraded state.
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log an Exception Error Use this operation to log exceptions as they are generated. Exceptions should be logged at points where they are generated, rethrown, or translated into new exception types. No information should be lost
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a Failure Alarm A Failure Alarm is raised when the application fails to create, find, or initialize an external service like a database connection, etc.
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a Flow control error A flow control error occurs if a thread exhausts the control branches of a flow without falling into one of the branches.
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a Range Error A Range Error occurs when a value is expected to be within a certain constraint but either exceeds or preceeds the range
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a security alarm A security alarm is a notification that something has attempted to violate the application's security mechanism
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a statistic report A statistic report includes messages about the applications performance and resources
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
|
Log a Usage Error Usage Errors include illegal argruments or arguments that would result in an illegal state
Implemented in BPLoggingStub, and LWLoggingPostORBInitCommand. |
Copyright © BoilerPlate.org | Generated on Tue Nov 30 16:33:04 2004 for BoilerPlate CosLightweightLogging Service by 1.3.7 |