Logger Class

Provides access to task definition and job template properties.

Inheritance Hierarchy

System. . :: . .Object
  Microsoft.Web.Media.TransformManager..::..Logger

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

Syntax

'Declaration

  Public Class Logger _
    Implements ILogger, IDisposable
'Usage

  Dim instance As Logger
  public class Logger : ILogger, IDisposable
  public ref class Logger : ILogger, IDisposable
  type Logger =  
    class
        interface ILogger
        interface IDisposable
    end
  public class Logger implements ILogger, IDisposable

The Logger type exposes the following members.

Constructors

  Name Description
Public method Logger Initializes a new instance of the Logger class.

Top

Properties

  Name Description
Public property LogFile Gets or sets a StreamWriter object that represents the log file.
Public property LogFileName Gets or sets the name of the log file.
Public property LogLevel Gets or sets the level of information that will be logged.

Top

Methods

  Name Description
Public method Close Disposes logging resources if the log file exists.
Public method Dispose() () () () Disposes logging resources.
Protected method Dispose(Boolean) Disposes logging resources and optionally releases the managed resources.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method WriteLine(LogLevel, String) Writes a line to the log file.
Public method WriteLine(LogLevel, String, Int32)

Top

Thread Safety

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

See Also

Reference

Microsoft.Web.Media.TransformManager Namespace