edhu
02/15/2018, 5:32 PMfun main()...
function that I execute. when I execute the main function, the program runs, but I know there are exceptions being thrown by my code but none get outputted to my console. How can I setup logging so that I can see the logs in the console?fred.deschenes
02/15/2018, 5:53 PMedhu
02/15/2018, 6:02 PMio.github.microutils:kotlin-logging:1.4.9
if i log statements in my project, it works. but the exceptions being thrown from a Jar dependency that i call do not get shown in the consoleProcess finished with exit code 0
fred.deschenes
02/15/2018, 6:22 PMedhu
02/15/2018, 6:23 PMcompile 'org.slf4j:slf4j-api:1.7.10'
fred.deschenes
02/15/2018, 6:25 PMedhu
02/15/2018, 6:26 PMfred.deschenes
02/15/2018, 6:30 PMedhu
02/15/2018, 6:30 PMfred.deschenes
02/15/2018, 6:31 PMlogger.error(...)
with your caught exceptionedhu
02/15/2018, 6:35 PMfred.deschenes
02/15/2018, 6:39 PMedhu
02/15/2018, 6:42 PMfred.deschenes
02/15/2018, 6:46 PMdave08
02/16/2018, 3:47 AMrunBlocking
and await
or join
. CommonPool is the default thread pool dispatcher in coroutines... you need to wait for the result to come back from the thread...edhu
02/16/2018, 10:20 AM