Last active
March 24, 2020 07:50
-
-
Save wullemsb/fe23400cdf1993cb74b33ab36d429b0f to your computer and use it in GitHub Desktop.
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
public class ConsoleLogger: ILogger | |
{ | |
public Task LogInformation(string message) | |
{ | |
Console.WriteLine(message); | |
} | |
} |
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
public interface ILogger | |
{ | |
Task LogInformation(string message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment