35 lines
668 B
C#
35 lines
668 B
C#
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);
|
|
}
|
|
}
|
|
|