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