I've just managed to setup SwiftyBeaver logging framework for my Xcode project, it works fine but Xcode raises an error every time I call my logging framework (that does not prevent me to compile nor to log properly though).

What I've done is just declaring my logging variable outside of a class' scope with some configurations like below:
let log = SwiftyBeaver.self
#if DEBUG
let logMinLevel = SwiftyBeaver.Level.debug
let logFormat = "$DHH:mm:ss.SSS$d $C$L$c $N.$F:$l - $M"
#else
let logMinLevel = SwiftyBeaver.Level.warning
let logFormat = "$DHH:mm:ss.SSS$d $C$L$c - $M"
#endif
Is there any way to get rid of that error message?
self.log...- shallowThoughtlogis not a member of any class - Louislogg- Louismember- shallowThought