@@ -16,24 +16,24 @@ class LoggingBlocObserver : BlocObserver() {
16
16
17
17
override fun <B : BlocBase <State >, State > onCreate (bloc : B ) {
18
18
super .onCreate(bloc)
19
- Log .i(bloc::class .qualifiedName , " Created" )
19
+ Log .i(bloc::class .simpleName , " Created" )
20
20
}
21
21
22
22
override fun <B : BlocBase <State >, State > onChange (bloc : B , change : Change <State >) {
23
23
super .onChange(bloc, change)
24
- Log .i(bloc::class .qualifiedName , change.toString())
24
+ Log .i(bloc::class .simpleName , change.toString())
25
25
}
26
26
27
27
override fun <B : Bloc <Event , State >, Event , State > onEvent (bloc : B , event : Event ) {
28
28
super .onEvent(bloc, event)
29
- Log .i(bloc::class .qualifiedName, " Event: $ event" )
29
+ Log .i(bloc::class .simpleName, event.toString() )
30
30
}
31
31
32
32
override fun <B : Bloc <Event , State >, Event , State > onTransition (
33
33
bloc : B ,
34
34
transition : Transition <Event , State >,
35
35
) {
36
36
super .onTransition(bloc, transition)
37
- Log .i(bloc::class .qualifiedName , transition.toString())
37
+ Log .i(bloc::class .simpleName , transition.toString())
38
38
}
39
39
}
0 commit comments