mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-14 15:14:51 -04:00
💾 Save clickgen logs to "build.log" file
This commit is contained in:
parent
c617bf3756
commit
0c61380b10
1 changed files with 7 additions and 2 deletions
|
@ -4,5 +4,10 @@
|
|||
import logging
|
||||
import os
|
||||
|
||||
logging.basicConfig(filename='%s/build.log' % os.getcwd(), filemode='w',
|
||||
format='%(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)
|
||||
|
||||
def save_logs_to_file() -> None:
|
||||
"""
|
||||
Save `clickgen` logs to `build.log` in current working directory
|
||||
"""
|
||||
logging.basicConfig(filename='%s/build.log' % os.getcwd(), filemode='w',
|
||||
format='%(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue