Simply3DScan
Logging.LoggerInfo Class Reference

Class for holding log information More...

Public Member Functions

 LoggerInfo (DateTime time, Severity severity, string message, string memberName, string filePath, int lineNumber)
 Initializes a new instance of the LoggerInfo class. More...
 
override string ToString ()
 Returns a System.String that represents this instance. More...
 

Detailed Description

Class for holding log information

Definition at line 8 of file LoggerInfo.cs.

Constructor & Destructor Documentation

Logging.LoggerInfo.LoggerInfo ( DateTime  time,
Severity  severity,
string  message,
string  memberName,
string  filePath,
int  lineNumber 
)

Initializes a new instance of the LoggerInfo class.

Parameters
timeThe time.
severityThe severity.
messageThe message.
memberNameName of the member.
filePathThe file path.
lineNumberThe line number.

Definition at line 26 of file LoggerInfo.cs.

27  {
28  this.time = time;
29  this.severity = severity;
30  this.message = message;
31  this.memberName = memberName;
32  this.filePath = filePath;
33  this.lineNumber = lineNumber;
34  }

Member Function Documentation

override string Logging.LoggerInfo.ToString ( )

Returns a System.String that represents this instance.

Returns
A System.String that represents this instance.

Definition at line 42 of file LoggerInfo.cs.

43  {
44  return String.Format("{0}\t{1}\t{2}({3}:{4})\t{5}\t\t{6}{5}",
45  this.time.ToString("yyyy.MM.dd HH:mm:ss.fff"), this.severity, this.memberName, this.filePath, this.lineNumber, Environment.NewLine,
46  this.message);
47  }

The documentation for this class was generated from the following file: