CSharpTest.Net
Log Class Members
See Also  Properties  Methods  Events Send Feedback Download Help File
CSharpTest.Net.Logging Assembly > (Global) Namespace : Log Class


Glossary Item Box

The following tables list the members exposed by Log.

Public Properties

 NameDescription
Public Propertystatic (Shared in Visual Basic)IsInfoEnabledReturns true if 'Info' messages are being recorded.  
Public Propertystatic (Shared in Visual Basic)IsVerboseEnabledReturns true if 'Verbose' messages are being recorded.  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)AppStartEnables calls to Log.xxx() to be processed on another thread to improve throughput... Place this in a using() statement within Main: using( new Log.AppStart("Some Name") ) This call (and Disponse) IS Thread safe and can be called multiple times either concurrently, sequentially, nested, or overlapping calls are all permitted and handled.  
Public Methodstatic (Shared in Visual Basic)ClearStackForces any left-behind calls to Start() to be closed.  
Public Methodstatic (Shared in Visual Basic)CriticalOverloaded. Logs a Critical error  
Public Methodstatic (Shared in Visual Basic)ErrorOverloaded. Logs an Error  
Public Methodstatic (Shared in Visual Basic)InfoOverloaded. Logs a Info error  
Public Methodstatic (Shared in Visual Basic)StartPushes a string into the trace stack so that log messages appear with the 'context' set to the information provided. The operation named should be performed by the current thread and the IDisposable object returned should be disposed when the operation completes.  
Public Methodstatic (Shared in Visual Basic)VerboseOverloaded. Logs a Verbose error  
Public Methodstatic (Shared in Visual Basic)WarningOverloaded. Logs a Warning  
Public Methodstatic (Shared in Visual Basic)WriteWrite directly to the log reguardless of the currently configured log-LogLevel  
Top

Public Events

 NameDescription
Public EventLogWriteThis event is raised when the logging routines are called and the LogLevel is at or higher than the current Log.LogLevels field value.  
Top

See Also

Generated with Document! X 2011 by Innovasys