Show / Hide Table of Contents

Class LogExpertLoader

Handles loading and managing LogExpert log files.

Inheritance
object
LogExpertLoader
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: CoverageKiller2.Logging
Assembly: CoverageKiller2.dll
Syntax
public class LogExpertLoader
Remarks

Version: CK2.00.00.0000

Constructors

LogExpertLoader()

Declaration
public LogExpertLoader()

Properties

LogFileName

Gets the name of the log file currently in use.

Declaration
public static string LogFileName { get; }
Property Value
Type Description
string

LogOpen

Gets a value indicating whether the log viewer is currently open.

Declaration
public static bool LogOpen { get; }
Property Value
Type Description
bool

Methods

Cleanup()

Prompts the user to close LogExpert, and shuts it down if confirmed.

Declaration
public static void Cleanup()

GetLogFile()

Creates a temporary log file and records the location in settings for reuse.

Declaration
public static string GetLogFile()
Returns
Type Description
string

The full file path of the created log file.

StartLogExpert(string, bool)

Starts LogExpert and opens the given log file, if it isn't already running.

Declaration
public static void StartLogExpert(string filePath, bool restartIfOpen)
Parameters
Type Name Description
string filePath

The file to open in LogExpert.

bool restartIfOpen

StopLogExpert()

Attempts to close any running LogExpert process gracefully, falling back to force-kill if necessary.

Declaration
public static void StopLogExpert()

Extension Methods

PingService.PingPong<T>(T, string)
PingService.PingPong<T>(T, string, string)
PingService.PingPong<T, TResult>(T, Func<TResult>, string, string)
PingService.Ping<T>(T, string)
PingService.Ping<T>(T, string, string)
PingService.Ping<T>(T, Type[], string)
PingService.Pong<T>(T, string)
PingService.Pong<T>(T, string, string)
PingService.Pong<T>(T, Type, string)
PingService.Pong<T>(T, Type[], string)
PingService.Pong<T, TResult>(T, Func<TResult>, string, string)
In this article
Back to top Generated by DocFX