Export (0) Print
Expand All

LogWriter Methods

The LogWriter type exposes the following members.

  NameDescription
Ee762920.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ee762920.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ee762920.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ee762920.pubmethod(en-us,PandP.50).gif FlushContextItems
Empties the context items dictionary.
Ee762920.pubmethod(en-us,PandP.50).gif GetFilter<T> Overloaded.
Ee762920.pubmethod(en-us,PandP.50).gif GetFilter
Returns the filter named name.
Ee762920.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ee762920.pubmethod(en-us,PandP.50).gif GetMatchingTraceSources
Gets a list of LogSource objects for the log entry.
Ee762920.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ee762920.pubmethod(en-us,PandP.50).gif IsLoggingEnabled
Queries whether logging is enabled.
Ee762920.pubmethod(en-us,PandP.50).gif IsTracingEnabled
Queries whether tracing is enabled.
Ee762920.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ee762920.pubmethod(en-us,PandP.50).gif Ee762920.static(en-us,PandP.50).gif ResetLockTimeouts
Reset lock timeouts to thier original values.
Ee762920.pubmethod(en-us,PandP.50).gif SetContextItem
Adds a key/value pair to the CallContext dictionary. Context items will be recorded with every log entry.
Ee762920.pubmethod(en-us,PandP.50).gif ShouldLog
Queries whether a LogEntry shold be logged.
Ee762920.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)
Ee762920.pubmethod(en-us,PandP.50).gif Write Overloaded.
Write a new log entry to the default category.
Show:
© 2014 Microsoft