mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JS debugger: make function public
This commit is contained in:
@@ -69,10 +69,10 @@ fun createDebugLogger(@PropertyKey(resourceBundle = Registry.REGISTRY_BUNDLE) ke
|
||||
if (!suffix.isNullOrEmpty()) {
|
||||
debugFile = debugFile.replace(".json", suffix + ".json")
|
||||
}
|
||||
return createDebugLogger(debugFile)
|
||||
return createDebugLoggerWithFile(debugFile)
|
||||
}
|
||||
|
||||
private fun createDebugLogger(debugFile: String): MessagingLogger? {
|
||||
fun createDebugLoggerWithFile(debugFile: String): MessagingLogger? {
|
||||
val queue = ConcurrentLinkedQueue<LogEntry>()
|
||||
val logger = MessagingLogger(queue)
|
||||
ApplicationManager.getApplication().executeOnPooledThread {
|
||||
|
||||
Reference in New Issue
Block a user