mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-05-28 08:34:02 +02:00
25 lines
576 B
Kotlin
25 lines
576 B
Kotlin
/*
|
|
* Copyright 2003-2024 The IdeaVim authors
|
|
*
|
|
* Use of this source code is governed by an MIT-style
|
|
* license that can be found in the LICENSE.txt file or at
|
|
* https://opensource.org/licenses/MIT.
|
|
*/
|
|
|
|
package ui.utils
|
|
|
|
import com.intellij.remoterobot.stepsProcessing.StepLogger
|
|
import com.intellij.remoterobot.stepsProcessing.StepWorker
|
|
|
|
object StepsLogger {
|
|
private var initializaed = false
|
|
|
|
@JvmStatic
|
|
fun init() = synchronized(initializaed) {
|
|
if (initializaed.not()) {
|
|
StepWorker.registerProcessor(StepLogger())
|
|
initializaed = true
|
|
}
|
|
}
|
|
}
|