[This is preliminary documentation and is subject to change.]
The OCLogger type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| OCLogger |
Methods
| Name | Description | |
|---|---|---|
| Assert | Overloaded. | |
| Debug |
Traces a debug statement in the code. This works only if the Debug switch is set in the code.
| |
| DebugStackTrace |
Traces a debug statement in the code. It also produces stack trace at the output.
The listener finds this function from the stack trace and switches it on.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetSwitchHandle |
Gets the boolean switch handle for tracing. Tracing switch can be turned off or on from the web.config file
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| TraceFunction |
Traces a function call, This works only when the FunctionCall switch is on.
| |
| WriteError |
Writes an error event. This indicates
a significant problem the user should know about; usually a loss
of functionality or data.
| |
| WriteException | Overloaded. | |
| WriteFailureAudit |
Writes a failure audit event. This indicates a security event
that occurs when an audited access attempt fails; for example,
a failed attempt to open a file.
| |
| WriteInformation |
Writes an information event. This indicates a significant,
successful operation.
| |
| WriteSuccessAudit |
Writes a success audit event. This indicates a security event
that occurs when an audited access attempt is successful; for
example, logging on successfully.
| |
| WriteWarning |
Writes a warning event. This indicates a problem that is not
immediately significant, but that may signify conditions that
could cause future problems.
|
