Shuffle it all up

This commit is contained in:
2021-11-27 16:25:55 -05:00
parent e421634432
commit e94f342739
6 changed files with 36 additions and 48 deletions

View File

@@ -0,0 +1,27 @@
import time
import logging
import verboselogs
import coloredlogs
# Install verbose logs
verboselogs.install()
# Create a logger object.
logger = logging.getLogger('Houston_Log')
# Install colored logs
coloredlogs.install(level='INFO',
logger=logger,
fmt='%(asctime)s,%(msecs)03d %(hostname)s %(levelname)s %(message)s')
logger.info('Lewis Companion Software Started.')
logger.success('Ready to robot!')
# Junk~
while True:
try:
logger.debug('Nothing to do.')
time.sleep(1)
except KeyboardInterrupt:
break