JS debugger: make function public

This commit is contained in:
Konstantin Ulitin
2016-10-13 20:38:22 +03:00
parent d3132d5215
commit 7bbc85a1cb
+2 -2
View File
@@ -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 {