|
IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Single record for temporary logging. More...
Public Member Functions | |
| LogRecord (ReportType messagetype, string location, string message, Exception ex) | |
| LogRecord (ReportType messagetype, string message, Exception ex) | |
| Launches a report. Predominantly for error and warning reports. More... | |
| LogRecord (ReportType messagetype, Exception ex, string location) | |
| Launches a report. Predominantly for error and warning reports. More... | |
| LogRecord (ReportType messagetype, Exception ex) | |
| Launches a report. Predominantly for error and warning reports. More... | |
| LogRecord (ReportType messagetype, string location, string message) | |
| Launches a report. More... | |
| LogRecord (ReportType messagetype, string message) | |
| Launches a report. More... | |
| LogRecord | Create (ReportType messagetype, string location, string message, Exception ex) |
| Creates and returns a log record initialized according to parameters. More... | |
| LogRecord | Create (ReportType messagetype, string message, Exception ex) |
| Creates and returns a log record initialized according to parameters. More... | |
| LogRecord | Create (ReportType messagetype, Exception ex, string location) |
| Creates and returns a log record initialized according to parameters. More... | |
| LogRecord | Create (ReportType messagetype, Exception ex) |
| Creates and returns a log record initialized according to parameters. More... | |
| LogRecord | Create (ReportType messagetype, string location, string message) |
| Creates and returns a log record initialized according to parameters. More... | |
| LogRecord | Create (ReportType messagetype, string message) |
| Creates and returns a log record initialized according to parameters. More... | |
| LogRecord | CreateError (string location, string message, Exception ex) |
| Creates and returns an error log record initialized according to parameters. More... | |
| LogRecord | CreateError (string message, Exception ex) |
| Creates and returns an error log record initialized according to parameters. More... | |
| LogRecord | CreateError (Exception ex, string location) |
| Creates and returns an error log record initialized according to parameters. More... | |
| LogRecord | CreateError (Exception ex) |
| Creates and returns an error log record initialized according to parameters. More... | |
| LogRecord | CreateError (string location, string message) |
| Creates and returns an error log record initialized according to parameters. More... | |
| LogRecord | CreateError (string message) |
| Creates and returns an error log record initialized according to parameters. More... | |
| LogRecord | CreateWarning (string location, string message, Exception ex) |
| Creates and returns a warning log record initialized according to parameters. More... | |
| LogRecord | CreateWarning (string message, Exception ex) |
| Creates and returns a warning log record initialized according to parameters. More... | |
| LogRecord | CreateWarning (Exception ex, string location) |
| Creates and returns a warning log record initialized according to parameters. More... | |
| LogRecord | CreateWarning (Exception ex) |
| Creates and returns a warning log record initialized according to parameters. More... | |
| LogRecord | CreateWarning (string location, string message) |
| Creates and returns a warning log record initialized according to parameters. More... | |
| LogRecord | CreateWarning (string message) |
| Creates and returns a warning log record initialized according to parameters. More... | |
| LogRecord | CreateInfo (string location, string message) |
| Creates and returns an info log record initialized according to parameters. More... | |
| LogRecord | CreateInfo (string message) |
| Creates and returns an info log record initialized according to parameters. More... | |
Static Public Attributes | |
| static bool | LogToConsole = false |
| If true then every creation of a new LogRecord is logged to console. More... | |
Properties | |
| ReportType | Type [get, protected set] |
| Type of the logged message. More... | |
| string | Location [get, set] |
| Location where message cause occurred. More... | |
| string | Message [get, set] |
| Message string. More... | |
| Exception | Ex [get, protected set] |
| Eventual exception that caused the message to be logged. More... | |
Private Attributes | |
| ReportType | _type = ReportType.Info |
| string | _location = null |
| string | _message = null |
| Exception | _ex = null |
Single record for temporary logging.
$A Igor Jun10;
|
inline |
|
inline |
Launches a report. Predominantly for error and warning reports.
| messagetype | Level of the message (Error, Warnind, etc.). |
| message | User-provided description of error. |
| ex | Exception that is the cause for launching the report (and from which additional information is extracted). |
|
inline |
Launches a report. Predominantly for error and warning reports.
| messagetype | Level of the message (Error, Warnind, etc.). |
| ex | Exception that is the cause for launching the report (and from which additional information is extracted). |
| location | User-provided description of error location. |
|
inline |
Launches a report. Predominantly for error and warning reports.
| messagetype | Level of the message (Error, Warnind, etc.). |
| ex | Exception that is the cause for launching the report (and from which additional information is extracted). |
|
inline |
Launches a report.
| messagetype | Level of the message (Error, Warnind, etc.). |
| location | User provided description of the location where report was triggered. |
| message | User provided message included in the report. |
|
inline |
Launches a report.
| messagetype | Level of the message (Error, Warnind, etc.). |
| message | User provided message included in the report. |
|
inline |
Creates and returns a log record initialized according to parameters.
| messagetype | Type of the logged record. |
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns a log record initialized according to parameters.
| messagetype | Type of the logged record. |
| message | Message (or additional explanation) to be logged. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns a log record initialized according to parameters.
| messagetype | Type of the logged record. |
| ex | Exception that caused creation of log record. |
| location | Description of location where logging occurred. |
|
inline |
Creates and returns a log record initialized according to parameters.
| messagetype | Type of the logged record. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns a log record initialized according to parameters.
| messagetype | Type of the logged record. |
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns a log record initialized according to parameters.
| messagetype | Type of the logged record. |
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns an error log record initialized according to parameters.
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns an error log record initialized according to parameters.
| message | Message (or additional explanation) to be logged. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns an error log record initialized according to parameters.
| ex | Exception that caused creation of log record. |
| location | Description of location where logging occurred. |
|
inline |
Creates and returns an error log record initialized according to parameters.
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns an error log record initialized according to parameters.
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns an error log record initialized according to parameters.
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns a warning log record initialized according to parameters.
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns a warning log record initialized according to parameters.
| message | Message (or additional explanation) to be logged. |
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns a warning log record initialized according to parameters.
| ex | Exception that caused creation of log record. |
| location | Description of location where logging occurred. |
|
inline |
Creates and returns a warning log record initialized according to parameters.
| ex | Exception that caused creation of log record. |
|
inline |
Creates and returns a warning log record initialized according to parameters.
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns a warning log record initialized according to parameters.
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns an info log record initialized according to parameters.
| location | Description of location where logging occurred. |
| message | Message (or additional explanation) to be logged. |
|
inline |
Creates and returns an info log record initialized according to parameters.
| message | Message (or additional explanation) to be logged. |
|
static |
If true then every creation of a new LogRecord is logged to console.
|
private |
|
private |
|
private |
|
private |
|
getprotected set |
Type of the logged message.
Referenced by IG.Lib.Logger.GetErrorsReport(), IG.Lib.Logger.GetInfosReport(), IG.Lib.Logger.GetReport(), IG.Lib.Logger.GetWarningsReport(), IG.Lib.Logger.HasLogs(), IG.Lib.Logger.NumLogs(), IG.Lib.Logger.PrintReport(), and IG.Lib.Logger.Report().
|
getset |
Location where message cause occurred.
Referenced by IG.Lib.Logger.PrintReport(), and IG.Lib.Logger.Report().
|
getset |
Message string.
Referenced by IG.Lib.Logger.PrintReport(), and IG.Lib.Logger.Report().
|
getprotected set |
Eventual exception that caused the message to be logged.
Referenced by IG.Lib.Logger.PrintReport(), and IG.Lib.Logger.Report().