mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-13 14:44:45 -04:00
📃 Store logs in 'build.log' file
This commit is contained in:
parent
befee63177
commit
95723d96aa
2 changed files with 7 additions and 0 deletions
1
build.py
1
build.py
|
@ -1,4 +1,5 @@
|
||||||
import json
|
import json
|
||||||
|
import log
|
||||||
from clickgen import build_cursor_theme
|
from clickgen import build_cursor_theme
|
||||||
|
|
||||||
from config import name, sizes, delay, bitmaps_dir, temp_folder
|
from config import name, sizes, delay, bitmaps_dir, temp_folder
|
||||||
|
|
6
log.py
Normal file
6
log.py
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue