Skip to content

Commit

Permalink
change constructor to take ILogManager instead of LogManager, increme…
Browse files Browse the repository at this point in the history
…nt version to 0.0.8
  • Loading branch information
hvetter-de committed Sep 19, 2017
1 parent 3c42d0d commit 80c0622
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Daenet.Common.Logging/Daenet.Common.Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.0.7</Version>
<Version>0.0.8</Version>
<Authors>daenet GmbH</Authors>
<Company>daenet GmbH</Company>
<Description>LogManager from Daenet.System</Description>
Expand Down
4 changes: 2 additions & 2 deletions Daenet.Common.Logging/LogManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ public string SourceName
//{
//}

public LogManager(ILogger logger, LogManager parentLogMgr = null)
public LogManager(ILogger logger, ILogManager parentLogMgr = null)
{
m_Logger = logger;

if (parentLogMgr != null)
m_AdditionalParams = parentLogMgr.CurrentScope;
}

public LogManager(ILoggerFactory loggerFactory, string sourceName, LogManager parentLogMgr = null) : this(loggerFactory.CreateLogger(sourceName), parentLogMgr)
public LogManager(ILoggerFactory loggerFactory, string sourceName, ILogManager parentLogMgr = null) : this(loggerFactory.CreateLogger(sourceName), parentLogMgr)
{
m_SourceName = sourceName;
}
Expand Down

0 comments on commit 80c0622

Please sign in to comment.