Created
February 28, 2021 08:35
-
-
Save kelumKP/792ff61c58254a70322da319ed223e0d to your computer and use it in GitHub Desktop.
Sample Console Log App
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
using log4net; | |
namespace SampleConsoleLogApp | |
{ | |
public class SampleInitialize | |
{ | |
private readonly ILog _log; | |
public SampleInitialize(ILog log) | |
{ | |
_log = log; | |
} | |
public void Run() | |
{ | |
_log.Info("Hello, world!"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment