musikr: cleanup unneeded debug logs
This commit is contained in:
@@ -67,15 +67,9 @@ private class EvaluateStepImpl(
|
|||||||
|
|
||||||
// Render graph to Graphviz in debug mode
|
// Render graph to Graphviz in debug mode
|
||||||
if (BuildConfig.DEBUG) {
|
if (BuildConfig.DEBUG) {
|
||||||
try {
|
val fileName = "music_graph_debug.dot"
|
||||||
val fileName = "music_graph_debug.dot"
|
graph.renderToGraphviz(context, fileName)
|
||||||
graph.renderToGraphviz(context, fileName)
|
val filePath = context.filesDir.resolve(fileName).absolutePath
|
||||||
val filePath = context.filesDir.resolve(fileName).absolutePath
|
|
||||||
Log.d("EvaluateStep", "Music graph rendered to: $filePath")
|
|
||||||
Log.d("EvaluateStep", "To pull the file, run: adb pull $filePath")
|
|
||||||
} catch (e: Exception) {
|
|
||||||
Log.e("EvaluateStep", "Failed to render music graph", e)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return libraryFactory.create(graph, storedPlaylists, playlistInterpreter)
|
return libraryFactory.create(graph, storedPlaylists, playlistInterpreter)
|
||||||
|
|||||||
Reference in New Issue
Block a user