https://kotlinlang.org logo
Title
m

Mike

10/27/2021, 3:16 AM
Hi - on iOS I’m seeing lots of MVIKotlin logging in console. Is there a way to disable the default logging? I’m worried about it causing perf issues in production. I’ve tried to comment out mvikotlin-logging from gradle but there’s still lots of logging. Do I need to implement a custom logger that doesn’t log anything? Thanks Example:
[MVIKotlin]: ListStore (STATE, State):
a

Arkadii Ivanov

10/27/2021, 9:52 AM
Hello! You just don't need to use LoggingStoreFactory in release builds, just use only DefaultStoreFactory
m

Mike

10/27/2021, 11:57 AM
Hmm I don't think I was setting any loggers, let me double check
Oh oops I was using LoggingStoreFactory in swift code. Ok thanks
👍 1