---
source: boltffi_bindgen/src/render/swift/templates.rs
assertion_line: 1490
expression: "render_class(&cls, \"boltffi\")"
---
public final class Logger {
    let handle: UnsafeMutableRawPointer

    init(handle: UnsafeMutableRawPointer) {
        self.handle = handle
    }

    deinit {
        boltffi_logger_free(handle)
    }

    public static func getDefault() -> Logger {
        let ptr = boltffi_logger_get_default()!
        return Logger(handle: ptr)
    }

}
