- Rename source module from RDReaderView to RDEpubReaderView - Move all source files from Sources/RDReaderView/ to Sources/RDEpubReaderView/ - Update podspec: RDReaderView.podspec -> RDEpubReaderView.podspec - Update Podfile, demo project, and CocoaPods config for new pod name - Delete old RDReaderView pod support files from ReadViewDemo/Pods - Add new RDEpubReaderView pod support files - Update documentation (API ref, architecture, UML, conventions, etc.) - Add FixedLayoutRotationTests - Update .gitignore: exclude .DS_Store, manual unpack backups, _ssoft-output
10 lines
350 B
Swift
10 lines
350 B
Swift
import Foundation
|
|
|
|
enum RDEPUBBackgroundTrace {
|
|
|
|
static func log(_ scope: String, _ message: String) {
|
|
let threadRole = Thread.isMainThread ? "main" : "bg"
|
|
let queueLabel = String(validatingUTF8: __dispatch_queue_get_label(nil)) ?? "unknown"
|
|
print("[EPUB][\(scope)][\(threadRole)][queue=\(queueLabel)] \(message)")
|
|
}
|
|
} |