Skip to content

Commit

Permalink
Merge pull request #616 from 304NotModified/conditionaldebug3
Browse files Browse the repository at this point in the history
Added DEBUG-Conditional trace and debug methods #2
  • Loading branch information
304NotModified committed Mar 1, 2015
2 parents 7d908f5 + deead95 commit 9398399
Show file tree
Hide file tree
Showing 11 changed files with 979 additions and 11 deletions.
968 changes: 968 additions & 0 deletions src/NLog/Logger-Conditional.cs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/NLog/NLog.doc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.mono2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.monodevelop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
13 changes: 2 additions & 11 deletions src/NLog/NLog.netfx35.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<OutputPath>bin\Debug</OutputPath>
<CodeAnalysisRules>
</CodeAnalysisRules>
<CodeAnalysisRules></CodeAnalysisRules>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
Expand Down Expand Up @@ -290,6 +289,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down Expand Up @@ -395,15 +395,6 @@
<ItemGroup>
<EmbeddedResource Include="Resources\NLog.ico" />
</ItemGroup>
<ItemGroup>
<None Include="Logger.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Logger1.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(StyleCopTargetsFile)" Condition="'$(StyleCopTargetsFile)' != ''" />
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.netfx40.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.netfx45.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.sl4.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.sl5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.wp7.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down
1 change: 1 addition & 0 deletions src/NLog/NLog.wp71.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
<DesignTime>True</DesignTime>
<DependentUpon>Logger.tt</DependentUpon>
</Compile>
<Compile Include="Logger-Conditional.cs" />
<Compile Include="LoggerImpl.cs" />
<Compile Include="Logger-V1Compat.cs">
<ExcludeFromStyleCop>true</ExcludeFromStyleCop>
Expand Down

0 comments on commit 9398399

Please sign in to comment.