초기커밋
This commit is contained in:
34
ServerCommon/BusinessLog/LogInvoker/UserBusinessLog.cs
Normal file
34
ServerCommon/BusinessLog/LogInvoker/UserBusinessLog.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class UserBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private readonly UserLogInfo m_data_to_log;
|
||||
|
||||
public UserBusinessLog(LogAction logAction, UserLogInfo logInfo)
|
||||
: base(LogDomainType.User, logAction)
|
||||
{
|
||||
m_data_to_log = new UserLogInfo(this, logInfo);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_data_to_log);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user