SepGetCurrentLogLevel

INT64 __stdcall SepGetCurrentLogLevel(){
  if( KeGetCurrentIrql() )
    return 2i64;
  else
    return *((_BYTE *)KeGetCurrentThread() + 192) & 1;
}

Referenced by:

SeSetLearningModeObjectInformation
SepGetLearningModeObjectInformation