# android


01/27/2018, 1:14 PM
I have created logging functionality for Android (it’s really just a wrapper around Ankologger so I can also call Crashlytics.log(…) at the same time. To do this, I have created a set of top-level functions to call various log levels. Most of the time, this works perfectly, but when I try to use error(message: Any?), the compiler thinks I’m trying to call Kotlin.error(message: Any). Now, I could of course rename my method, but I’m wondering if there is a proper way to get the compiler to understand which I’m trying to reference (there is no import for kotlin.error(…)). I mean, this has to work for Ankologger, right?