parent
3e202d6ac7
commit
0c86590f75
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ namespace Observatory.Framework
|
|||
/// <returns>A boolean; True iff the state provided represents a batch-mode read.</returns>
|
||||
public static bool IsBatchRead(LogMonitorState state)
|
||||
{
|
||||
return (state & (LogMonitorState.Batch | LogMonitorState.PreRead)) > 0;
|
||||
return state.HasFlag(LogMonitorState.Batch) || state.HasFlag(LogMonitorState.PreRead);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue