Share via


ILogger Interface

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Defines the interface used by code generation tasks to report errors.

Namespace:  Microsoft.ServiceModel.DomainServices.Tools
Assembly:  Microsoft.ServiceModel.DomainServices.Tools (in Microsoft.ServiceModel.DomainServices.Tools.dll)

Syntax

'Declaration
Public Interface ILogger
'Usage
Dim instance As ILogger
public interface ILogger
public interface class ILogger
type ILogger =  interface end
public interface ILogger

The ILogger type exposes the following members.

Properties

  Name Description
Public property HasLoggedErrors Gets a value indicating whether any errors were logged.

Top

Methods

  Name Description
Public method LogError Logs the specified message as an error.
Public method LogMessage Logs the specified message as information.
Public method LogWarning Logs the specified message as a warning.

Top

See Also

Reference

Microsoft.ServiceModel.DomainServices.Tools Namespace