We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7790f35 commit 9fd3cebCopy full SHA for 9fd3ceb
notebooks/ccdc_notebook_utilities/create_logger.py
@@ -12,11 +12,13 @@
12
import sys
13
import ccdc.io
14
import os
15
-"""
16
-From inside a notebook, create a logger and log starting information
17
18
-def create_logger(verbose = True):
19
+
+def create_logger(verbose=True):
+ """
+ From inside a notebook, create a logger and log starting information
20
21
22
logger=logging.getLogger(__name__)
23
handler=logging.StreamHandler()
24
handler.setFormatter(logging.Formatter('[%(asctime)s %(levelname)-7s] %(message)s', datefmt='%y-%m-%d %H:%M:%S'))
0 commit comments