The FileLogWriter type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkFileLogWriter(String)
Creates a new instance of file log writer based on the specified file and the default "Info" log level.
Public methodSupported by the .NET Compact FrameworkFileLogWriter(String, LogLevel)
Creates a new instance of file log writer based on the specified file and 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)
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
(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
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().)
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 into a text-based log.
(Overrides LogWriterBase..::..WriteMessage(String).)

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkFilename Obsolete.
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.)
Public propertySupported by the .NET Compact FrameworkPath
Path to the log file.

See Also