Photon Server API Documentation
v5.0RC1
Photon
SocketServer
Diagnostics
LogCountGuard
Public Member Functions
|
List of all members
Photon.SocketServer.Diagnostics.LogCountGuard Class Reference
Public Member Functions
LogCountGuard
(TimeSpan period, int allowedCount=1)
bool
IncrementAndCheck
(int increment=1)
int
GetSkippedMessagesAndReset
()
Constructor & Destructor Documentation
◆
LogCountGuard()
Photon.SocketServer.Diagnostics.LogCountGuard.LogCountGuard
(
TimeSpan
period
,
int
allowedCount
=
1
)
inline
Member Function Documentation
◆
GetSkippedMessagesAndReset()
int Photon.SocketServer.Diagnostics.LogCountGuard.GetSkippedMessagesAndReset
(
)
inline
◆
IncrementAndCheck()
bool Photon.SocketServer.Diagnostics.LogCountGuard.IncrementAndCheck
(
int
increment
=
1
)
inline