mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-14 07:04:35 -04:00
11 lines
356 B
Python
11 lines
356 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import logging
|
|
import os
|
|
|
|
|
|
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)
|