Compartilhar via


Logging Members

Represents the logging class used by UII that implements a listening system to allow multiple listeners to hook in and log messages.

The following tables list the members exposed by the Logging type.

Public Properties

  Name Description
public property static ErrorCount Gets or sets the error count. (Incremented by every call to one of the Error() overloads.)
public property static ShowErrors Gets or sets a Boolean value that specifies whether error messages will be displayed in a messagebox. False by default.
public property static TraceSwitchLevel Gets the level of the trace switch.

Top

Public Methods

  Name Description
public method static Error Overloaded.  
public method static Info Overloaded.  
public method static Information Displays messages that are useful, but do not represent a problem.
public method static Trace Overloaded.  
public method static TryInitialize Provides explicit initialization of logging listeners, rather than defering to first use of the Logging class. Use of this method is not required.
public method static Warn Overloaded.  

Top

See Also

Reference

Logging Class
Microsoft.Uii.Common.Logging Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.