📃 Store logs in 'build.log' file

This commit is contained in:
ful1e5 2020-08-26 12:02:00 +05:30
parent befee63177
commit 95723d96aa
2 changed files with 7 additions and 0 deletions

View file

@ -1,4 +1,5 @@
import json
import log
from clickgen import build_cursor_theme
from config import name, sizes, delay, bitmaps_dir, temp_folder

6
log.py Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env python
import logging
logging.basicConfig(filename='build.log', filemode='w',
format='%(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)