Logger Class

IIS 7.0

Provides access to task definition and job template properties.


Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)

public class Logger : ILogger, IDisposable

The Logger type exposes the following members.

Public methodLoggerInitializes a new instance of the Logger class.

Public propertyLogFileGets or sets a StreamWriter object that represents the log file.
Public propertyLogFileNameGets or sets the name of the log file.
Public propertyLogLevelGets or sets the level of information that will be logged.

Public methodCloseDisposes logging resources if the log file exists.
Public methodDispose()()()()Disposes logging resources.
Protected methodDispose(Boolean)Disposes logging resources and optionally releases the managed resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodWriteLine(LogLevel, String)Writes a line to the log file.
Public methodWriteLine(LogLevel, String, Int32)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.