Click or drag to resize

TraceHelper Class

Container class for the static traceswitch objects used by the tracing logic in the ORMSupportclasses.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesTraceHelper

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static class TraceHelper

The TraceHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberTraceActionDenied
Traces the action failure, if any, to the info level tracer of ORMPersistenceExecution.
Public methodStatic memberTraceLambdaCacheRecycle
Writes a message that the compiled lambda cache for the cache owner specified has recycled. It's written if the traceswitch QueryExecution is switched on at the info level
Public methodStatic memberWriteIf(Boolean, Object)
Writes the value with no category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, String)
Writes the message with no category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, Object, String)
Writes the value with the remark of the category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, String, String)
Writes the message with the remark of the category specified to the trace output, if condition is true.
Public methodStatic memberWriteIf(Boolean, String, String, Object)
Writes the message with the remark of the category specified to the trace output, if condition is true. Will not format the message if the condition is false.
Public methodStatic memberWriteLineIf(Boolean, Object)
Writes the value with no category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, String)
Writes the message with no category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, Object, String)
Writes the value with the remark of the category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, String, String)
Writes the message with the remark of the category specified to the trace output with a newline, if condition is true.
Public methodStatic memberWriteLineIf(Boolean, String, String, Object)
Writes the message with the remark of the category specified to the trace output with a newline, if condition is true. Will not format the message if the condition is false.
Top
Fields
  NameDescription
Public fieldStatic memberGeneralSwitch
General switch which is used by general code in the ORM Support classes.
Public fieldStatic memberPersistenceExecutionSwitch
Switch which is used by entity / other data persistence logic execution code in the ORM Support classes
Public fieldStatic memberPlainSQLQueryExecutionSwitch
Switch which is used by the plain SQL api to log executed statements.
Public fieldStatic memberQueryExecutionSwitch
Switch which is used by the query objects in the ORM support classes.
Public fieldStatic memberStateManagementSwitch
Switch which is used by state management code in the ORM Support classes.
Top
See Also