Click or drag to resize

GSF.Diagnostics Namespace

Contains classes used to simplify and standardize performance monitoring for applications.
Classes
  Class Description
Public class ChildProcessManager Represents a manager for automatically terminating child processes.
Public class DisposableLoggingClassBase A helper class that implements IDisposable that will raise log messages when this class is not properly disposed of.
Public class LogEventPublisher Can be used to publish event messages.
Public class LogEventPublisherDetails Information about the LogEventPublisher that published this message.
Public class LogFileCompactor A method to read all of the logs in a single file.
Public class LogFileReader A method to read all of the logs in a single file.
Public class LogFileWriter A log subscriber that will log messages to a file.
Public class LogFileWriterInMemory A log subscriber that will log messages to a file.
Public class Logger Manages the collection and reporting of logging information in a system.
Public class LogMessage An individual log message.
Public class LogPublisher A publisher of log messages.
Public class LogStackFrame Provides information about the specific stack frame.
Public class LogStackMessages Represents an immutable list of stack messages.
Public class LogStackTrace Provides stack trace data that can be serialized to a stream.
Public class LogSubscriber Subscribes to log events.
Public class LogSubscriptionConsole Creates a LogSubscriber that will write messages to the GSF.Console
Public class LogSubscriptionFileWriter A log subscription that will write messages to a file
Public class Code example PerformanceCounter Represents an extension of the basic PerformanceCounter providing additional statistical logic.
Public class Code example PerformanceMonitor Represents a process performance monitor that operates similar to the Windows Performance Monitor utility that can be used to monitor system performance.
Public class PerformanceMonitorBase Represents a base class for performance monitors, e.g., the process level PerformanceMonitor and the system level SystemPerformanceMonitor.
Public class ProcessUtilizationCalculator Represents a utilization calculator for a related Process set.
Public class PublisherTypeDefinition Contains all of the metadata associated with a Type that will be serialized to the disk.
Public class SystemPerformanceMonitor Represents a system performance monitor for system level performance statistics, e.g., CPU utilization and available memory.
Public class ThreadPoolMonitor This class will monitor the performance of the ThreadPool and report any indications of system stress.
Public class ThreadPoolTrace Executes a trace on the ThreadPool for all callbacks currently queued. This will not include work items that have a time delayed callback.
Public class TimerTrace Executes a trace on the Timer for all queued timers.
Structures
  Structure Description
Public structure MessageRate Defines a message rate for the message suppression algorithm
Delegates
  Delegate Description
Public delegate NewLogMessageEventHandler A log message delegate
Enumerations
  Enumeration Description
Public enumeration MessageClass Gets the classification of the message.
Public enumeration MessageFlags Various flags that can be attributed to a LogMessage.
Public enumeration MessageLevel The level of importance of a message that is being raised. Increasing from Debug, Info, Warning, Error, Critical. None can be specified, but this indicates an importance level cannot be properly identified, and the message will be routed based on MessageFlags.
Public enumeration MessageLevelFlags The level of importance of a message that is being raised. Increasing from Debug, Info, Warning, Error, Critical. None can be specified, but this indicates an importance level cannot be properly identified, and the message will be routed based on MessageFlags.
Public enumeration MessageSuppression Indicates the suppression level that this message received
Public enumeration VerboseLevel General Verbose Levels exposed to the user for application logging.