Initial commit
This commit is contained in:
31
srcs/RobotNet10/Commons/RobotNet10.Script/ILogger.cs
Normal file
31
srcs/RobotNet10/Commons/RobotNet10.Script/ILogger.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace RobotNet10.Script;
|
||||
|
||||
/// <summary>
|
||||
/// Xuất thông tin ghi log cho các thành phần trong RobotNet.
|
||||
/// </summary>
|
||||
public interface ILogger
|
||||
{
|
||||
/// <summary>
|
||||
/// Xuất thông tin ghi log với mức độ thông tin.
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
void LogInfo(string message);
|
||||
|
||||
/// <summary>
|
||||
/// Xuất thông tin ghi log với mức độ cảnh báo.
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
void LogWarning(string message);
|
||||
|
||||
/// <summary>
|
||||
/// Xuất thông tin ghi log với mức độ lỗi.
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
void LogError(string message);
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
string GetLog();
|
||||
}
|
||||
Reference in New Issue
Block a user