Skip to content

Commit

Permalink
Merge pull request #2 from marwijn/master
Browse files Browse the repository at this point in the history
NLog support for silverlight
  • Loading branch information
kkozmic committed Dec 8, 2011
2 parents bd8fdf3 + 7185def commit 26553e2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ public ExtendedNLogFactory(string configFile)
LogManager.Configuration = new XmlLoggingConfiguration(file.FullName);
}

/// <summary>
/// Initializes a new instance of the <see cref = "NLogFactory" /> class.
/// </summary>
/// <param name = "loggingConfiguration">The NLog Configuration</param>
public ExtendedNLogFactory(LoggingConfiguration loggingConfiguration)
{
LogManager.Configuration = loggingConfiguration;
}

/// <summary>
/// Creates a new extended logger with the specified <paramref name = "name" />.
/// </summary>
Expand Down
9 changes: 9 additions & 0 deletions src/Castle.Services.Logging.NLogIntegration/NLogFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ public NLogFactory(string configFile)
LogManager.Configuration = new XmlLoggingConfiguration(file.FullName);
}

/// <summary>
/// Initializes a new instance of the <see cref = "NLogFactory" /> class.
/// </summary>
/// <param name = "loggingConfiguration">The NLog Configuration</param>
public NLogFactory(LoggingConfiguration loggingConfiguration)
{
LogManager.Configuration = loggingConfiguration;
}

/// <summary>
/// Creates a logger with specified <paramref name = "name" />.
/// </summary>
Expand Down

0 comments on commit 26553e2

Please sign in to comment.