Show / Hide Table of Contents

LogManager Class Members

The following tables list the members exposed by LogManager.

Public Constructors

  Name Description
Public Constructor LogManager Constructor  

Public Fields

  Name Description
Public Fieldstatic (Shared in Visual Basic) SyncRoot Gets an object that can be used to synchronize access to LogManager.  

Public Properties

  Name Description
Public Propertystatic (Shared in Visual Basic) Instance Gets the singleton instance of LogManager.  
Public Propertystatic (Shared in Visual Basic) IsInitialized Gets whether or not LogManager has been properly initialized.  
Public Propertystatic (Shared in Visual Basic) LogConfigFilePath Gets or sets the full path to the file LogManager should attempt to use to configure itself.  

Public Methods

  Name Description
Public Methodstatic (Shared in Visual Basic) AddAppenderToLogger Overloaded. Links a given appender to the specified .NET type-identified logger.  
Public Methodstatic (Shared in Visual Basic) AddAppenderToRoot Adds an already-prepared appender to the root level (affecting all loggers).  
Public Methodstatic (Shared in Visual Basic) AddLogFileAppender Creates a new rolling log file appender and adds it to the configuration for use elsewhere.  
Public Methodstatic (Shared in Visual Basic) FindFile  
Public Methodstatic (Shared in Visual Basic) GetLogger Overloaded. Retrieves a logger for the given type name.  
Public Methodstatic (Shared in Visual Basic) Initialize Initializes the LogManager.  
Public Methodstatic (Shared in Visual Basic) Reconfigure  
Public Methodstatic (Shared in Visual Basic) ResetConfiguration Resets the log configuration and configuration file back to defaults (root level set to INFO with no appenders).  
Public Methodstatic (Shared in Visual Basic) SetLoggerLevel Overloaded. Changes a specific logger's (specified by type) logging level.  
Public Methodstatic (Shared in Visual Basic) SetRootLoggerLevel Changes the root's logging level (affecting all loggers)  
Public Methodstatic (Shared in Visual Basic) SetThreadContextValue Sets a context variable for this thread.  

Reference

LogManager Class
FChoice.Common Namespace

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.