File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 7979from langtrace_python_sdk .extensions .langtrace_exporter import LangTraceExporter
8080from sentry_sdk .types import Event , Hint
8181
82- logging .disable (level = logging .INFO )
83-
8482
8583class LangtraceConfig :
8684 def __init__ (self , ** kwargs ):
@@ -216,7 +214,7 @@ def init(
216214 disable_logging : bool = False ,
217215 headers : Dict [str , str ] = {},
218216):
219- logging . disable ( level = logging . INFO )
217+
220218 check_if_sdk_is_outdated ()
221219 config = LangtraceConfig (
222220 api_key = api_key ,
@@ -232,6 +230,7 @@ def init(
232230 )
233231
234232 if config .disable_logging :
233+ logging .disable (level = logging .INFO )
235234 sys .stdout = open (os .devnull , "w" )
236235
237236 host = get_host (config )
Original file line number Diff line number Diff line change 1- __version__ = "3.3.1 "
1+ __version__ = "3.3.2 "
You can’t perform that action at this time.
0 commit comments