-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3a15e0
commit 004a201
Showing
20 changed files
with
1,107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
param( | ||
[String] $majorMinor = "5.5", # 5.5 | ||
[String] $patch = "0", # $env:APPVEYOR_BUILD_VERSION | ||
[String] $customLogger = "", # C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll | ||
[Switch] $notouch, | ||
[String] $project = "ReflectSoftware.Insight.Extensions.Log4Net" | ||
) | ||
|
||
function Set-AssemblyVersions($informational, $assembly) | ||
{ | ||
(Get-Content assets/VersionInfo.cs) | | ||
ForEach-Object { $_ -replace """1.0.0.0""", """$assembly""" } | | ||
ForEach-Object { $_ -replace """1.0.0""", """$informational""" } | | ||
ForEach-Object { $_ -replace """1.1.1.1""", """$($informational).0""" } | | ||
Set-Content assets/VersionInfo.cs | ||
} | ||
|
||
function Install-NuGetPackages($solution) | ||
{ | ||
nuget restore $solution | ||
} | ||
|
||
function Invoke-MSBuild($solution, $customLogger) | ||
{ | ||
if ($customLogger) | ||
{ | ||
msbuild "$solution" /verbosity:minimal /p:Configuration=Release /logger:"$customLogger" | ||
} | ||
else | ||
{ | ||
msbuild "$solution" /verbosity:minimal /p:Configuration=Release | ||
} | ||
} | ||
|
||
function Invoke-NuGetPackProj($csproj) | ||
{ | ||
nuget pack -Prop Configuration=Release -Symbols $csproj | ||
} | ||
|
||
function Invoke-NuGetPackSpec($nuspec, $version) | ||
{ | ||
nuget pack $nuspec -Version $version -OutputDirectory ..\..\ | ||
} | ||
|
||
function Invoke-NuGetPack($version) | ||
{ | ||
ls src/**/*.csproj | | ||
Where-Object { -not ($_.Name -like "*net40*") } | | ||
ForEach-Object { Invoke-NuGetPackProj $_ } | ||
} | ||
|
||
function Invoke-Build($project, $majorMinor, $patch, $customLogger, $notouch) | ||
{ | ||
$solution2 = "$project 2.0.sln" | ||
$solution4 = "$project 4.0.sln" | ||
$solution45 = "$project 4.5.sln" | ||
|
||
$package="$majorMinor.$patch" | ||
|
||
Write-Output "$project $package" | ||
|
||
if (-not $notouch) | ||
{ | ||
$assembly = "$majorMinor.0.0" | ||
|
||
Write-Output "Assembly version will be set to $assembly" | ||
Set-AssemblyVersions $package $assembly | ||
} | ||
|
||
Install-NuGetPackages $solution45 | ||
Invoke-MSBuild $solution45 $customLogger | ||
|
||
Install-NuGetPackages $solution4 | ||
Invoke-MSBuild $solution4 $customLogger | ||
|
||
Install-NuGetPackages $solution2 | ||
Invoke-MSBuild $solution2 $customLogger | ||
|
||
Invoke-NuGetPack $package | ||
} | ||
|
||
$ErrorActionPreference = "Stop" | ||
|
||
if (-not $sln) | ||
{ | ||
$slnfull = ls *.sln | | ||
Where-Object { -not ($_.Name -like "*net40*") } | | ||
Select -first 1 | ||
|
||
$sln = $slnfull.BaseName | ||
} | ||
|
||
Invoke-Build $project $majorMinor $patch $customLogger $notouch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Change Log ## | ||
|
||
#### Version 5.5 #### | ||
|
||
* Moved from [CodePlex](http://insightextensions.codeplex.com/ "CodePlex") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Microsoft Public License (Ms-PL) | ||
|
||
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. | ||
1.Definitions | ||
|
||
The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. | ||
|
||
A "contribution" is the original software, or any additions or changes to the software. | ||
|
||
A "contributor" is any person that distributes its contribution under this license. | ||
|
||
"Licensed patents" are a contributor's patent claims that read directly on its contribution. | ||
1.Grant of Rights | ||
|
||
(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. | ||
|
||
(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. | ||
1.Conditions and Limitations | ||
|
||
(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. | ||
|
||
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. | ||
|
||
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. | ||
|
||
(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. | ||
|
||
(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ReflectInsight-Extensions-Log4Net | ||
|
||
[![Build status](https://img.shields.io/appveyor/ci/reflectsoftware/reflectinsight-extensions-log4net.svg)](https://ci.appveyor.com/project/reflectsoftware/reflectinsight-extensions-log4net) | ||
[![Release](https://img.shields.io/github/release/reflectsoftware/reflectinsight-extensions-log4net.svg)](https://github.com/reflectsoftware/reflectinsight-extensions-log4net/releases/latest) | ||
[![NuGet](https://img.shields.io/nuget/dt/reflectsoftware.insight.extensions.log4net.svg)](http://www.nuget.org/packages/ReflectSoftware.Insight.Extensions.Log4net/) | ||
[![Stars](https://img.shields.io/github/stars/reflectsoftware/reflectinsight-extensions-log4net.svg)](https://github.com/reflectsoftware/reflectinsight-extensions-log4net/stargazers) | ||
|
||
## Overview ## | ||
|
||
We've added support for the Log4net appender. This allows you to leverage your current investment in log4net, but leverage the power and flexibility that comes with the ReflectInsight viewer. You can view your log4net messages in realtime, in a rich viewer that allows you to filter out and search for what really matters to you. | ||
|
||
The log4net extension supports Log4net v1.2.11.0. However if you need to support an older version, then you will need to download the ReflectInsight Logging Extensions Library from GitHub. You can then reference and rebuild the extension against a specific release of the log4net dll. | ||
|
||
## Benefits of ReflectInsight Extensions ## | ||
|
||
The benefits to using the Insight Extensions is that you can easily and quickly add them to your applicable with little effort and then use the ReflectInsight Viewer to view your logging in real-time, allowing you to filter, search, navigate and see the details of your logged messages. | ||
|
||
## Getting Started | ||
|
||
Coming soon... | ||
|
||
## Additional Resources | ||
|
||
[Documentation](https://reflectsoftware.atlassian.net/wiki/display/RI5/ReflectInsight+5+documentation) | ||
|
||
[Knowledge Base](http://reflectsoftware.uservoice.com/knowledgebase) | ||
|
||
[Submit User Feedback](http://reflectsoftware.uservoice.com/forums/158277-reflectinsight-feedback) | ||
|
||
[Contact Support](support@reflectsoftware.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.31101.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Solution Items", "_Solution Items", "{42B0F2D4-228B-4E1B-B81C-685CEE15D2E4}" | ||
ProjectSection(SolutionItems) = preProject | ||
Build.ps1 = Build.ps1 | ||
CHANGES.md = CHANGES.md | ||
LICENSE.md = LICENSE.md | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReflectSoftware.Insight.Extensions.Log4net 2.0", "src\ReflectSoftware.Insight.Extensions.Log4net 2.0.csproj", "{A7A9040C-826F-4CF6-8D70-288DFF88ADE1}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A7A9040C-826F-4CF6-8D70-288DFF88ADE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A7A9040C-826F-4CF6-8D70-288DFF88ADE1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A7A9040C-826F-4CF6-8D70-288DFF88ADE1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A7A9040C-826F-4CF6-8D70-288DFF88ADE1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.31101.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Solution Items", "_Solution Items", "{42B0F2D4-228B-4E1B-B81C-685CEE15D2E4}" | ||
ProjectSection(SolutionItems) = preProject | ||
Build.ps1 = Build.ps1 | ||
CHANGES.md = CHANGES.md | ||
LICENSE.md = LICENSE.md | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReflectSoftware.Insight.Extensions.Log4net 4.0", "src\ReflectSoftware.Insight.Extensions.Log4net 4.0.csproj", "{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.30501.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReflectSoftware.Insight.Extensions.Log4net 4.5", "src\ReflectSoftware.Insight.Extensions.Log4net 4.5.csproj", "{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Solution Items", "_Solution Items", "{5083DB16-D99D-48E4-8B72-90F9AFD54F7C}" | ||
ProjectSection(SolutionItems) = preProject | ||
Build.ps1 = Build.ps1 | ||
CHANGES.md = CHANGES.md | ||
LICENSE.md = LICENSE.md | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2CFB2E87-1C47-4E78-ADDC-99F246471FC1}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System.Reflection; | ||
|
||
[assembly: AssemblyCompany("ReflectSoftware Inc.")] | ||
[assembly: AssemblyProduct("ReflectSoftware.Insight.Extensions Library")] | ||
[assembly: AssemblyCopyright("© 2014 ReflectSoftware Inc. All rights reserved.")] | ||
[assembly: AssemblyDescription("Provides extensions to the ReflectInsight Logging Framework")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyVersion("5.5.0.1500")] | ||
[assembly: AssemblyFileVersion("5.5.0.1500")] | ||
[assembly: AssemblyInformationalVersion("5.5.0")] |
Oops, something went wrong.