from adapt.intent import IntentBuilder
from mycroft import MycroftSkill, intent_handler
from mycroft.util import LOG
LOG.info("This is a logged info level message outside of the MycroftSkill Class scope")
def my_special_function():
LOG.info("Another usage of LOG.")
class LoggingSkill(MycroftSkill):
@intent_handler(IntentBuilder('HelloWorldIntent')
def handle_hello_world_intent(self, message):
""" Skills can log useful information. These will appear in the CLI and
self.log.info("This is an info level log message.")
self.speak_dialog("hello.world")