DaveWoodCom / XCGLogger

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.
MIT License
3.94k stars 477 forks source link

Crash on FileDestination.write #292

Open manojverma-cs opened 4 years ago

manojverma-cs commented 4 years ago

I am getting a crash in FileDestination.write. Can anyone check this.

libswiftCore.dylib
0x10aa6c000 + 2809804
libswiftCore.dylib
0x10aa6c000 + 2809856
libswiftCore.dylib
0x10aa6c000 + 1683428
libswiftCore.dylib
0x10aa6c000 + 2063616
libswiftCore.dylib
0x10aa6c000 + 2063932
libswiftCore.dylib
0x10aa6c000 + 1669160
XCGLogger
function signature specialization <Arg[1] = Dead> of Swift.String.init(stringInterpolation: Swift.String...) -> Swift.String ANSIColorLogFormatter.swift:0
XCGLogger
XCGLogger.FileDestination.write(message: Swift.String) -> () <compiler-generated>:0
XCGLogger
closure #1 () -> () in XCGLogger.BaseQueuedDestination.output(logDetails: XCGLogger.LogDetails, message: Swift.String) -> () BaseQueuedDestination.swift:41
XCGLogger
reabstraction thunk helper from @escaping @callee_guaranteed () -> () to @escaping @callee_unowned @convention(block) () -> () <compiler-generated>:0
libdispatch.dylib
_dispatch_call_block_and_release
libdispatch.dylib
_dispatch_client_callout
libdispatch.dylib
_dispatch_lane_serial_drain$VARIANT$armv81
libdispatch.dylib
_dispatch_lane_invoke$VARIANT$armv81
libdispatch.dylib
_dispatch_workloop_worker_thread
libsystem_pthread.dylib
_pthread_wqthread
libsystem_pthread.dylib
start_wqthread