LogLogSetting Class |
Namespace: Velo.Services
The LogLogSetting type exposes the following members.
| Name | Description | |
|---|---|---|
| LogLogSetting |
Initializes a new instance of the LogSetting class.
Constructor without parameter.
Read setting from application configuration file app.config or web.config
|
| Name | Description | |
|---|---|---|
| EmailTo |
Send email to this address
| |
| SendEmail |
Must log test to send email
| |
| Subject |
Title of email
|
| Name | Description | |
|---|---|---|
| ConvertDateFromSQL |
Convert SQL date include value null
(Defined by Extension.) | |
| ConvertDateToSQL |
Convert C# date type to SQL date type
(Defined by Extension.) |
<configuration>
...
<configSections>
...
<!-- Log configuration Velo.Services.Log -->
<section name="LogSetting" type="System.Configuration.NameValueSectionHandler"/>
...
</configSections>
...
<!-- Log configuration Velo.Services.Log -->
<LogSetting>
<add key="SendEmail" value="true" />
<add key="EmailTo" value="fs@sowi.ch" />
<add key="Subject" value="Web App Velo Exception" />
</LogSetting>
...
</configuration>