mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-09-09 04:31:42 -04:00
@@ -102,7 +102,7 @@ namespace Observatory.Framework
|
|||||||
/// <returns>A boolean; True iff the state provided represents a batch-mode read.</returns>
|
/// <returns>A boolean; True iff the state provided represents a batch-mode read.</returns>
|
||||||
public static bool IsBatchRead(LogMonitorState state)
|
public static bool IsBatchRead(LogMonitorState state)
|
||||||
{
|
{
|
||||||
return (state & (LogMonitorState.Batch | LogMonitorState.PreRead)) > 0;
|
return state.HasFlag(LogMonitorState.Batch) || state.HasFlag(LogMonitorState.PreRead);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user