markus / MarkusAutoUpdate / src / NetSparkle / Interfaces / ILogger.cs @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (669 Bytes)
1 |
using NetSparkleUpdater.Enums; |
---|---|
2 |
using System; |
3 |
using System.Collections.Generic; |
4 |
using System.Text; |
5 |
|
6 |
namespace NetSparkleUpdater.Interfaces |
7 |
{ |
8 |
/// <summary> |
9 |
/// Interface for objects that can handle log information output |
10 |
/// (e.g. to a console or a file or something else) |
11 |
/// </summary> |
12 |
public interface ILogger |
13 |
{ |
14 |
/// <summary> |
15 |
/// Print a message to the log output. |
16 |
/// </summary> |
17 |
/// <param name="message">Message to print</param> |
18 |
/// <param name="arguments">Arguments to print (e.g. if using {0} format arguments)</param> |
19 |
void PrintMessage(string message, params object[] arguments); |
20 |
} |
21 |
} |