Skip to content

Commit f07291e

Browse files
author
Joel Mitchell
committed
Added readme and updated package references
1 parent 26ab37a commit f07291e

File tree

8 files changed

+60
-28
lines changed

8 files changed

+60
-28
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Cofoundry.Plugins.ErrorLogging
2+
3+
[![Build status](https://ci.appveyor.com/api/projects/status/r3j6maiudwv42r2d?svg=true)](https://ci.appveyor.com/project/Cofoundry/cofoundry-plugins-errorlogging)
4+
[![NuGet](https://img.shields.io/nuget/v/Cofoundry.Plugins.SiteMap.svg)](https://www.nuget.org/packages/Cofoundry.Plugins.ErrorLogging/)
5+
[![Gitter](https://img.shields.io/gitter/room/cofoundry-cms/cofoundry.svg)](https://gitter.im/cofoundry-cms/cofoundry)
6+
7+
8+
This library is a plugin for [Cofoundry](http://cofoundry.org/). For more information on getting started with Cofoundry check out the [Cofoundry repository](https://github.com/cofoundry-cms/cofoundry).
9+
10+
## Overview
11+
12+
This plugin contains a simple implementation of `IErrorLoggingService` that logs errors to a *CofoundryPlugin.Error* database table and optionally sends an email notification.
13+
14+
The [Cofoundry.Plugins.ErrorLogging.Admin](https://www.nuget.org/packages/Cofoundry.Plugins.ErrorLogging/) package can be installed to enable an error log section in the admin panel.
15+
16+
*Note that this current version of the error logging package has not been given much attention. We will be giving this a lot more love in upcoming releases.*
17+
18+
## Settings
19+
20+
- **Cofoundry:Plugins:ErrorLogging:LogToEmailAddress** If set, an email notification will be sent to this address every time an error occurs.
21+
22+
23+
24+

src/Cofoundry.Plugins.ErrorLogging.Admin/Cofoundry.Plugins.ErrorLogging.Admin.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="Cofoundry.Core, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
57-
<HintPath>..\packages\Cofoundry.Core.0.1.0-beta0101\lib\net461\Cofoundry.Core.dll</HintPath>
57+
<HintPath>..\packages\Cofoundry.Core.0.1.0-beta0106\lib\net461\Cofoundry.Core.dll</HintPath>
5858
<Private>True</Private>
5959
</Reference>
6060
<Reference Include="Cofoundry.Domain, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
61-
<HintPath>..\packages\Cofoundry.Domain.0.1.0-beta0101\lib\net461\Cofoundry.Domain.dll</HintPath>
61+
<HintPath>..\packages\Cofoundry.Domain.0.1.0-beta0106\lib\net461\Cofoundry.Domain.dll</HintPath>
6262
<Private>True</Private>
6363
</Reference>
6464
<Reference Include="Cofoundry.Web, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
65-
<HintPath>..\packages\Cofoundry.Web.0.1.0-beta0101\lib\net461\Cofoundry.Web.dll</HintPath>
65+
<HintPath>..\packages\Cofoundry.Web.0.1.0-beta0106\lib\net461\Cofoundry.Web.dll</HintPath>
6666
<Private>True</Private>
6767
</Reference>
6868
<Reference Include="Cofoundry.Web.Admin, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
69-
<HintPath>..\packages\Cofoundry.Web.Admin.0.1.0-beta0101\lib\net461\Cofoundry.Web.Admin.dll</HintPath>
69+
<HintPath>..\packages\Cofoundry.Web.Admin.0.1.0-beta0106\lib\net461\Cofoundry.Web.Admin.dll</HintPath>
7070
<Private>True</Private>
7171
</Reference>
7272
<Reference Include="Conditions, Version=2.1.0.24, Culture=neutral, processorArchitecture=MSIL">

src/Cofoundry.Plugins.ErrorLogging.Admin/Cofoundry.Plugins.ErrorLogging.Admin.nuspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
<tags>Cofoundry Plugin ErrorLogging Admin</tags>
1616
<dependencies>
1717
<dependency id="Cofoundry.Plugins.ErrorLogging" version="$version$" />
18+
1819
<dependency id="Antlr" version="3.5.0.2" />
1920
<dependency id="AutoMapper" version="5.2.0" />
20-
<dependency id="Cofoundry.Core" version="0.1.0-beta0101" />
21-
<dependency id="Cofoundry.Domain" version="0.1.0-beta0101" />
22-
<dependency id="Cofoundry.Web" version="0.1.0-beta0101" />
23-
<dependency id="Cofoundry.Web.Admin" version="0.1.0-beta0101" />
21+
<dependency id="Cofoundry.Core" version="0.1.0-beta0106" />
22+
<dependency id="Cofoundry.Domain" version="0.1.0-beta0106" />
23+
<dependency id="Cofoundry.Web" version="0.1.0-beta0106" />
24+
<dependency id="Cofoundry.Web.Admin" version="0.1.0-beta0106" />
2425
<dependency id="CommonServiceLocator" version="1.3" />
2526
<dependency id="Conditions" version="2.1.0" />
2627
<dependency id="EntityFramework" version="6.1.3" />

src/Cofoundry.Plugins.ErrorLogging.Admin/packages.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<packages>
33
<package id="Antlr" version="3.5.0.2" targetFramework="net461" />
44
<package id="AutoMapper" version="5.2.0" targetFramework="net461" />
5-
<package id="Cofoundry.Core" version="0.1.0-beta0101" targetFramework="net461" />
6-
<package id="Cofoundry.Domain" version="0.1.0-beta0101" targetFramework="net461" />
7-
<package id="Cofoundry.Web" version="0.1.0-beta0101" targetFramework="net461" />
8-
<package id="Cofoundry.Web.Admin" version="0.1.0-beta0101" targetFramework="net461" />
5+
<package id="Cofoundry.Core" version="0.1.0-beta0106" targetFramework="net461" />
6+
<package id="Cofoundry.Domain" version="0.1.0-beta0106" targetFramework="net461" />
7+
<package id="Cofoundry.Web" version="0.1.0-beta0106" targetFramework="net461" />
8+
<package id="Cofoundry.Web.Admin" version="0.1.0-beta0106" targetFramework="net461" />
99
<package id="CommonServiceLocator" version="1.3" targetFramework="net461" />
1010
<package id="Conditions" version="2.1.0" targetFramework="net461" />
1111
<package id="EntityFramework" version="6.1.3" targetFramework="net461" />

src/Cofoundry.Plugins.ErrorLogging/Cofoundry.Plugins.ErrorLogging.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
<Private>True</Private>
4141
</Reference>
4242
<Reference Include="Cofoundry.Core, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
43-
<HintPath>..\packages\Cofoundry.Core.0.1.0-beta0101\lib\net461\Cofoundry.Core.dll</HintPath>
43+
<HintPath>..\packages\Cofoundry.Core.0.1.0-beta0106\lib\net461\Cofoundry.Core.dll</HintPath>
4444
<Private>True</Private>
4545
</Reference>
4646
<Reference Include="Cofoundry.Domain, Version=0.1.0.0, Culture=neutral, processorArchitecture=MSIL">
47-
<HintPath>..\packages\Cofoundry.Domain.0.1.0-beta0101\lib\net461\Cofoundry.Domain.dll</HintPath>
47+
<HintPath>..\packages\Cofoundry.Domain.0.1.0-beta0106\lib\net461\Cofoundry.Domain.dll</HintPath>
4848
<Private>True</Private>
4949
</Reference>
5050
<Reference Include="Conditions, Version=2.1.0.24, Culture=neutral, processorArchitecture=MSIL">

src/Cofoundry.Plugins.ErrorLogging/Cofoundry.Plugins.ErrorLogging.nuspec

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
<copyright>Cofoundry.org</copyright>
1515
<tags>Cofoundry Plugin ErrorLogging</tags>
1616
<dependencies>
17-
<dependency id="AutoMapper" version="5.2.0" />
18-
<dependency id="Cofoundry.Core" version="0.1.0-beta0101" />
19-
<dependency id="Cofoundry.Domain" version="0.1.0-beta0101" />
20-
<dependency id="Conditions" version="2.1.0" />
21-
<dependency id="EntityFramework" version="6.1.3" />
22-
<dependency id="HtmlAgilityPack" version="1.4.9.5" />
23-
<dependency id="Microsoft.AspNet.Mvc" version="5.2.3" />
24-
<dependency id="Microsoft.AspNet.Razor" version="3.2.3" />
25-
<dependency id="Microsoft.AspNet.WebPages" version="3.2.3" />
26-
<dependency id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
27-
<dependency id="Newtonsoft.Json" version="9.0.1" />
28-
<dependency id="RazorEngine" version="3.9.3" />
17+
<package id="AutoMapper" version="5.2.0" />
18+
<package id="Cofoundry.Core" version="0.1.0-beta0106" />
19+
<package id="Cofoundry.Domain" version="0.1.0-beta0106" />
20+
<package id="Conditions" version="2.1.0" />
21+
<package id="EntityFramework" version="6.1.3" />
22+
<package id="HtmlAgilityPack" version="1.4.9.5" />
23+
<package id="Microsoft.AspNet.Mvc" version="5.2.3" />
24+
<package id="Microsoft.AspNet.Razor" version="3.2.3" />
25+
<package id="Microsoft.AspNet.WebPages" version="3.2.3" />
26+
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
27+
<package id="Newtonsoft.Json" version="9.0.1" />
28+
<package id="RazorEngine" version="3.9.3" />
2929
</dependencies>
3030
</metadata>
3131
<files>

src/Cofoundry.Plugins.ErrorLogging/Settings/ErrorLoggingSettings.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@
77

88
namespace Cofoundry.Plugins.ErrorLogging
99
{
10+
/// <summary>
11+
/// Configuration settings for the Cofoundry.Plugins.ErrorLogging
12+
/// </summary>
1013
public class ErrorLoggingSettings : PluginConfigurationSettingsBase
1114
{
15+
/// <summary>
16+
/// If set, an email notification will be sent to this address
17+
/// every time an error occurs.
18+
/// </summary>
1219
public string LogToEmailAddress { get; set; }
1320
}
1421
}

src/Cofoundry.Plugins.ErrorLogging/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="AutoMapper" version="5.2.0" targetFramework="net461" />
4-
<package id="Cofoundry.Core" version="0.1.0-beta0101" targetFramework="net461" />
5-
<package id="Cofoundry.Domain" version="0.1.0-beta0101" targetFramework="net461" />
4+
<package id="Cofoundry.Core" version="0.1.0-beta0106" targetFramework="net461" />
5+
<package id="Cofoundry.Domain" version="0.1.0-beta0106" targetFramework="net461" />
66
<package id="Conditions" version="2.1.0" targetFramework="net461" />
77
<package id="EntityFramework" version="6.1.3" targetFramework="net461" />
88
<package id="HtmlAgilityPack" version="1.4.9.5" targetFramework="net461" />

0 commit comments

Comments
 (0)