Table of Contents

Interface ILibraryLog

Namespace
PHCLibrary
Assembly
PHCLibrary.dll
public interface ILibraryLog

Methods

Log(Exception, MethodParameter[], string, string, int)

string Log(Exception ex, MethodParameter[] parameters, string filePath = "", string caller = "", int lineNumber = 0)

Parameters

Nome Tipo Descrição
ex Exception
parameters MethodParameter[]
filePath string
caller string
lineNumber int

Returns

string

Log(Exception, SqlCommand, MethodParameter[], bool, string, string, int)

string Log(Exception ex, SqlCommand dbCommand, MethodParameter[] parameters, bool withoutSendMail, string filePath = "", string caller = "", int lineNumber = 0)

Parameters

Nome Tipo Descrição
ex Exception
dbCommand SqlCommand
parameters MethodParameter[]
withoutSendMail bool
filePath string
caller string
lineNumber int

Returns

string

Log(Exception, SqlCommand, MethodParameter[], string, string, int)

string Log(Exception ex, SqlCommand dbCommand, MethodParameter[] parameters, string filePath = "", string caller = "", int lineNumber = 0)

Parameters

Nome Tipo Descrição
ex Exception
dbCommand SqlCommand
parameters MethodParameter[]
filePath string
caller string
lineNumber int

Returns

string

Log(Exception, SqlCommand, string, string, int)

string Log(Exception ex, SqlCommand dbCommand, string filePath = "", string caller = "", int lineNumber = 0)

Parameters

Nome Tipo Descrição
ex Exception
dbCommand SqlCommand
filePath string
caller string
lineNumber int

Returns

string

Log(Exception, string, string, int)

string Log(Exception ex, string filePath = "", string caller = "", int lineNumber = 0)

Parameters

Nome Tipo Descrição
ex Exception
filePath string
caller string
lineNumber int

Returns

string

LogDebug(string)

string LogDebug(string msgItem)

Parameters

Nome Tipo Descrição
msgItem string

Returns

string

LogDebug(string, MethodParameter[])

string LogDebug(string msgItem, MethodParameter[] parameters)

Parameters

Nome Tipo Descrição
msgItem string
parameters MethodParameter[]

Returns

string

LogDebug(string, bool)

string LogDebug(string msgItem, bool OverridesDebugFlag)

Parameters

Nome Tipo Descrição
msgItem string
OverridesDebugFlag bool

Returns

string

LogDebug(string, bool, MethodParameter[])

string LogDebug(string msgItem, bool OverridesDebugFlag, MethodParameter[] parameters)

Parameters

Nome Tipo Descrição
msgItem string
OverridesDebugFlag bool
parameters MethodParameter[]

Returns

string

LogError(string)

string LogError(string msgItem)

Parameters

Nome Tipo Descrição
msgItem string

Returns

string

LogError(string, MethodParameter[])

string LogError(string msgItem, MethodParameter[] parameters)

Parameters

Nome Tipo Descrição
msgItem string
parameters MethodParameter[]

Returns

string

LogError(string, SqlCommand)

string LogError(string msgItem, SqlCommand dbCommand)

Parameters

Nome Tipo Descrição
msgItem string
dbCommand SqlCommand

Returns

string

LogError(string, SqlCommand, MethodParameter[], string, string, int)

string LogError(string msgItem, SqlCommand dbCommand, MethodParameter[] parameters, string filePath = "", string caller = "", int lineNumber = 0)

Parameters

Nome Tipo Descrição
msgItem string
dbCommand SqlCommand
parameters MethodParameter[]
filePath string
caller string
lineNumber int

Returns

string

LogInfo(string)

string LogInfo(string msgItem)

Parameters

Nome Tipo Descrição
msgItem string

Returns

string

LogInfo(string, MethodParameter[])

string LogInfo(string msgItem, MethodParameter[] parameters)

Parameters

Nome Tipo Descrição
msgItem string
parameters MethodParameter[]

Returns

string

TraceFileDbg(string)

void TraceFileDbg(string msgItem)

Parameters

Nome Tipo Descrição
msgItem string