Skip to content

Commit

Permalink
init_service_logger("PHAL")
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Jul 3, 2023
1 parent b03fa1e commit ba5b874
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ovos_PHAL/__main__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from ovos_PHAL.service import PHAL, on_ready, on_error, on_stopping

from ovos_utils import wait_for_exit_signal
from ovos_utils.log import init_service_logger


def main(ready_hook=on_ready, error_hook=on_error, stopping_hook=on_stopping):
Expand All @@ -9,6 +10,7 @@ def main(ready_hook=on_ready, error_hook=on_error, stopping_hook=on_stopping):
# "ovos-PHAL-plugin-display-manager-ipc": {"enabled": true},
# "ovos-PHAL-plugin-mk1": {"enabled": True}
# }
init_service_logger("PHAL")
phal = PHAL(on_error=error_hook, on_ready=ready_hook, on_stopping=stopping_hook)
phal.start()
wait_for_exit_signal()
Expand Down

0 comments on commit ba5b874

Please sign in to comment.