fix custom Logger is None
This commit is contained in:
parent
0a94953896
commit
03f79f78db
@ -1405,6 +1405,9 @@ class Logging:
|
||||
end_time=end_time,
|
||||
)
|
||||
if callable(callback): # custom logger functions
|
||||
global customLogger
|
||||
if customLogger is None:
|
||||
customLogger = CustomLogger()
|
||||
if self.stream:
|
||||
if (
|
||||
"async_complete_streaming_response"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user