CSharpTest.Net
EventData Class Members
See Also  Fields  Properties  Methods  Send Feedback Download Help File
CSharpTest.Net.Logging Assembly > CSharpTest.Net.Logging Namespace : EventData Class


Glossary Item Box

The following tables list the members exposed by EventData.

Public Constructors

 NameDescription
Public ConstructorEventData Constructor/// Serialization Constructor for ISerializable ///  
Top

Public Fields

 NameDescription
Public FieldLevelThe LogLevel of the log data or LogLevels.None if Log.Write() was called  
Public FieldOutputThe outputs that should recieve this message  
Top

Public Properties

 NameDescription
Public PropertyAppDomainNameThe current app domain's friendly name  
Public PropertyEntryAssemblyThe current app domain's entry-point assembly name  
Public PropertyEventIdA unique integer representing the index the event was written since program start  
Public PropertyEventTimeReturns the time when the log event was raised  
Public PropertyExceptionAn instance of the Exception class or null if none provided  
Public PropertyFileColumnThe file column where the log was called from.  
Public PropertyFileLineThe file line number where the log was called from.  
Public PropertyFileLocationReturns the full message of Message + Location + Exception  
Public PropertyFileNameThe file name where the log was called from or null if no file dataList available/configured.  
Public PropertyFullMessageReturns the full message of Message + Location + Exception  
Public PropertyIlOffsetReturns the IL offset within the calling method  
Public PropertyLocationThe full method information: Type.Name(Args)  
Public PropertyLogCurrentreturns the text given the most recent call to Log.Start() that has not yet been Disponsed  
Public PropertyLogStackreturns the text given to all calls to Log.Start() that has not yet been Disponsed separated by '::'  
Public PropertyManagedThreadIdThe managed thread id that called the log routine  
Public PropertyManagedThreadNameThe managed thread name (if any) or String.Empty  
Public PropertyMessageThe formatted string of the message or String.Empty if none  
Public PropertyMethodThe full method information: Type.Name(Args)  
Public PropertyMethodArgsThe method's argument names and types.  
Public PropertyMethodAssemblyThe assembly's name that contained the method where the log was called from.  
Public PropertyMethodAssemblyVersionThe assembly's version that contained the method where the log was called from.  
Public PropertyMethodNameThe method where the log was called from.  
Public PropertyMethodTypeThe type containing the method where the log was called from.  
Public PropertyMethodTypeNameThe unqualified type containing the method where the log was called from.  
Public PropertyProcessIdThe current process id  
Public PropertyProcessNameThe current process name  
Public PropertyThreadPrincipalNameThe logging thread's 'CurrentPrincipal.Identity.Name' property  
Top

Public Methods

 NameDescription
Public MethodToStringOverloaded. Displays this log data in a default brief format  
Public MethodToXmlReturns this data as an XmlWriter text fragment who name is the class name and each attribute is the field name, again maintaining the case.  
Public MethodWriteOverloaded. Writes this event to the text writter with the default brief format  
Top

See Also

Generated with Document! X 2011 by Innovasys