Source code for _exos_ext_ems

########################################################################
# Copyright (c) Extreme Networks Inc. 2021
# All rights reserved
########################################################################
# STUB!
#
# This is a stub to keep sphinx, the doc generator, happy.  It needs to be able
# to import exos.api, but that means importing the C extensions as well.  Problem is,
# the C extensions only build on a target and sphinx can't run on a target.
# So, we'll work-around with a little stub action.  The good news is, we're not interested in
# documenting the C extensions, just the Python API itself.
#
# STUB!


[docs]class UnknownTraceBufferError(object): pass
[docs]class TraceBufferAlreadyExistsError(object): pass
[docs]class LogComponentRegisteredError(object): pass
class LogComponentNotRegisteredError(object): pass class TraceBuffer(object): def __init__(*args, **kwds): pass _EMS_CRITICAL_SEVERITY = 1 _EMS_ERROR_SEVERITY = 2 _EMS_WARNING_SEVERITY = 3 _EMS_NOTICE_SEVERITY = 4 _EMS_INFO_SEVERITY = 5 _EMS_DEBUG_SUMMARY_SEVERITY = 6 _EMS_DEBUG_VERBOSE_SEVERITY = 7 _EMS_DEBUG_DATA_SEVERITY = 8