C# Class ParkitectNexus.Data.Utilities.StreamWriterLogUtility

Contains StreamWriter logging utility methods.
显示文件 Open project: ParkitectNexus/ParkitectNexusClient

Public Methods

Method Description
Log ( this streamWriter, string message ) : void

Logs the specified message.

Log ( this streamWriter, string message, LogLevel logLevel ) : void

Logs the specified stream writer.

Method Details

Log() public static method

Logs the specified message.
streamWriter is null.
public static Log ( this streamWriter, string message ) : void
streamWriter this The stream writer.
message string The message.
return void

Log() public static method

Logs the specified stream writer.
Thrown if streamWriter is null.
public static Log ( this streamWriter, string message, LogLevel logLevel ) : void
streamWriter this The stream writer.
message string The message.
logLevel LogLevel The log level.
return void