The TraceLogWriter type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkTraceLogWriter()()()()
Creates a new instance of trace log writer based on the default "Info" log level.
Public methodSupported by the .NET Compact FrameworkTraceLogWriter(LogLevel)
Creates a new instance of trace log writer based on the specified log level.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkClose
Closes the log writer.
(Inherited from LogWriterBase.)
Public methodSupported by the .NET Compact FrameworkDispose()()()()
Disposes the object.
(Inherited from LogWriterBase.)
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Clean up any resources being used.
(Overrides LogWriterBase..::..Dispose(Boolean).)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
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.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkWrite(LogLevel, Type, Int32, String, String)
Writes a message into the log.
(Inherited from LogWriterBase.)
Public methodSupported by the .NET Compact FrameworkWrite(LogLevel, Type, Int32, String, String, array<Byte>[]()[][], Int32, Int32)
Writes a message and data block into the log.
(Inherited from LogWriterBase.)
Protected methodSupported by the .NET Compact FrameworkWriteMessage
Appends the specified message text to the trace listeners log. This method is only called by Write(LogLevel, Type, Int32, String, String) method and is only used by text-based loggers.
(Overrides LogWriterBase..::..WriteMessage(String).)

Properties

  NameDescription
Protected propertySupported by the .NET Compact FrameworkIsClosed
Get a value indicating whether the log writer is closed.
(Overrides LogWriterBase..::..IsClosed.)
Public propertySupported by the .NET Compact FrameworkLevel
Gets or sets the log level - only log messages with log level equal to or greater than the specified one.
(Inherited from LogWriterBase.)

See Also