fitframework
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
IS.Base.Errorlog Class Reference

Thực hiện quá trình ghi log lỗi. Thực hiện cho các phiên bản ứng dụng desktop. More...

Static Public Member Functions

static void raiseError (string source, string function)
 Ghi nhận thông báo lỗi dựa trên lỗi đã thực thiết lập trong er
 
static void raiseError (string source, string function, string Message, string errorSource, int HashCode)
 Ghi nhận lỗi trực teieps các tham số tương ứng với lỗi được phát sinh.
 
static void raiseError (string source, string function, string Message, string errorSource, int HashCode, string thesource)
 Thông báo lỗi tương tự như raiseError
 
static void raiseError (string source, string function, Exception e, string theSource)
 Ghi thông báo lỗi dựa trên exeption của hệ thống.
 
static void raiseError (string source, string function, Exception e)
 Thông báo lỗi.
 

Static Public Attributes

static string fileName = "error.log"
 

Detailed Description

Thực hiện quá trình ghi log lỗi. Thực hiện cho các phiên bản ứng dụng desktop.

Member Function Documentation

◆ raiseError() [1/5]

static void IS.Base.Errorlog.raiseError ( string source,
string function )
inlinestatic

Ghi nhận thông báo lỗi dựa trên lỗi đã thực thiết lập trong er

Parameters
sourceNguồn lỗi
functionHàm chương trình phát sinh lỗi

◆ raiseError() [2/5]

static void IS.Base.Errorlog.raiseError ( string source,
string function,
Exception e )
inlinestatic

Thông báo lỗi.

Parameters
source
function
e

◆ raiseError() [3/5]

static void IS.Base.Errorlog.raiseError ( string source,
string function,
Exception e,
string theSource )
inlinestatic

Ghi thông báo lỗi dựa trên exeption của hệ thống.

Parameters
sourceNguồn
functionHàm
eLỗi được phát sinh trong hệ thống bằng hàm try-catch
theSourceNguồn mô tả thêm

◆ raiseError() [4/5]

static void IS.Base.Errorlog.raiseError ( string source,
string function,
string Message,
string errorSource,
int HashCode )
inlinestatic

Ghi nhận lỗi trực teieps các tham số tương ứng với lỗi được phát sinh.

Parameters
sourceNguồn
functionHàm bị lỗi
MessageThông điệp lỗi
errorSourceNguồn phát sinh lỗi
HashCodeMã lỗi

◆ raiseError() [5/5]

static void IS.Base.Errorlog.raiseError ( string source,
string function,
string Message,
string errorSource,
int HashCode,
string thesource )
inlinestatic

Thông báo lỗi tương tự như raiseError

Parameters
source
function
Message
errorSource
HashCode
thesource

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