Skip to content

Commit

Permalink
remove obsolete logger interface (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeevPavel authored Oct 12, 2023
1 parent 64385d4 commit 91c3db8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 76 deletions.
75 changes: 0 additions & 75 deletions skiko/src/jvmMain/kotlin/org/jetbrains/skia/impl/Log.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.jetbrains.skia.impl

import org.jetbrains.skiko.Logger
import java.lang.ref.PhantomReference
import java.lang.ref.ReferenceQueue
import kotlin.concurrent.thread
Expand Down Expand Up @@ -27,7 +28,7 @@ actual abstract class Managed actual constructor(

class CleanerThunk(var className: String, var ptr: Long, var finalizerPtr: Long) : Runnable {
override fun run() {
Log.trace { "Cleaning $className ${java.lang.Long.toString(ptr, 16)}" }
Logger.trace { "Cleaning $className ${ptr.toString(16)}" }
Stats.onDeallocated(className)
Stats.onNativeCall()
_nInvokeFinalizer(finalizerPtr, ptr)
Expand Down

0 comments on commit 91c3db8

Please sign in to comment.