fixed compile error around lua isLogging call