Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
Merge pull request #271 from snakefoot/master
Browse files Browse the repository at this point in the history
LibLogException - Excluded from code coverage, and internal when LIBLOG_PROVIDERS_ONLY
  • Loading branch information
damianh committed Nov 17, 2019
2 parents 7bdf859 + 84a4686 commit 09573f2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion src/LibLog/LogProviders/LibLogException.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
namespace YourRootNamespace.Logging.LogProviders
{
using System;
#if LIBLOG_EXCLUDE_CODE_COVERAGE
using System.Diagnostics.CodeAnalysis;
#endif

#if LIBLOG_EXCLUDE_CODE_COVERAGE
[ExcludeFromCodeCoverage]
#endif
#if !LIBLOG_PROVIDERS_ONLY || LIBLOG_PUBLIC
/// <summary>
/// Exception thrown by LibLog.
/// </summary>
public class LibLogException : Exception
public
#else
internal
#endif
class LibLogException : Exception
{
/// <summary>
/// Initializes a new LibLogException with the specified message.
Expand Down
13 changes: 12 additions & 1 deletion src/LibLog/LogProviders/LibLogException.cs.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,22 @@
namespace $rootnamespace$.Logging.LogProviders
{
using System;
#if LIBLOG_EXCLUDE_CODE_COVERAGE
using System.Diagnostics.CodeAnalysis;
#endif

#if LIBLOG_EXCLUDE_CODE_COVERAGE
[ExcludeFromCodeCoverage]
#endif
#if !LIBLOG_PROVIDERS_ONLY || LIBLOG_PUBLIC
/// <summary>
/// Exception thrown by LibLog.
/// </summary>
public class LibLogException : Exception
public
#else
internal
#endif
class LibLogException : Exception
{
/// <summary>
/// Initializes a new LibLogException with the specified message.
Expand Down

0 comments on commit 09573f2

Please sign in to comment.