def get_offset(self):
    if not self._is_open:
      raise IOError(u'Not opened.')

    return self._current_offset
Verify ThreadLogContext.ExtendLabel behavior.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/file_io/tsk_file_io.py/TSKFile.get_offset--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/tests/log_util_test.py/LogUtilTestCase.testThreadLogContextExtendLabel