14 lines
360 B
C#
14 lines
360 B
C#
|
|
using System.Runtime.CompilerServices;
|
|||
|
|
|
|||
|
|
namespace YY.Admin.Core
|
|||
|
|
{
|
|||
|
|
public interface ILoggerService
|
|||
|
|
{
|
|||
|
|
void Information(string message);
|
|||
|
|
void Warning(string message);
|
|||
|
|
void Error(string message, Exception? ex = null);
|
|||
|
|
void Debug(string message);
|
|||
|
|
void Performance(string operationName, TimeSpan duration);
|
|||
|
|
}
|
|||
|
|
}
|