https://kotlinlang.org logo
Title
n

neuber

11/08/2018, 3:56 PM
Can anyone help me
m

marstran

11/08/2018, 4:03 PM
msg: "create"
is invalid syntax. You probably want
Logger.log("create")
.
n

Nicolas Chaduc

11/08/2018, 4:05 PM
try
Logger.getGlobal.log("create")
n

neuber

11/08/2018, 4:09 PM
no solved
n

Nicolas Chaduc

11/08/2018, 4:16 PM
you need add `Level.whyYouNeed`for example `Level.ALL`or
Level.WARNING
like that :
Logger.getGlobal().log(Level.WARNING, "message")
r

Ryhan Hasan

11/08/2018, 4:26 PM
Your passing a string type, but they're expecting a log record type
n

neuber

11/08/2018, 4:41 PM
can anyone help me with this issue above?
n

Nicolas Chaduc

11/08/2018, 4:58 PM
suscriber.onNext(value = 1)
n

neuber

11/08/2018, 5:01 PM
n

Nicolas Chaduc

11/08/2018, 5:02 PM
suscriber.onNext(1)
Observable.create<Int> { source ->
            Logger.getGlobal().log(Level.WARNING, "onCreate")
            source.onNext(1)
            source.onNext(2)
            source.onNext(3)
            source.onComplete()
            Logger.getGlobal().log(Level.WARNING, "complete")
        }.subscribe {
            Logger.getGlobal().log(Level.WARNING, "next -> $it")
        }
n

neuber

11/08/2018, 5:15 PM
error running+class not found in module
r

Riccardo Montagnin

11/08/2018, 6:30 PM
Click the run button next to the main function
n

neuber

11/08/2018, 6:56 PM
solved