Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
ded84fa6
Commit
ded84fa6
authored
Dec 10, 2023
by
BO ZHANG
🏀
Browse files
update logger
parent
3a5fd9a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/logger.py
View file @
ded84fa6
...
...
@@ -12,9 +12,9 @@ Modified-History:
import
logging
def
get_logger
(
name
=
"CSST
L1 P
ipeline"
,
filename
=
"
"
):
def
get_logger
(
name
:
str
=
"CSST
p
ipeline"
,
filename
:
str
=
"test.log
"
):
"""
Get a logger for CSST
L1 P
ipeline.
Get a logger for CSST
p
ipeline
s
.
Messages with levels >= DEBUG will be output by stream.
Messages with levels >= INFO will be recorded by a log file.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment