Skip to content

Commit 61a004c

Browse files
committed
first commit
0 parents  commit 61a004c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

manager.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/python
2+
import logging as log
3+
4+
LOG_FILENAME = 'python_manager.log'
5+
6+
def __init__():
7+
log.basicConfig(filename=LOG_FILENAME,level=log.DEBUG)
8+
9+
def main():
10+
__init__()
11+
log.warning("lol")
12+
return 0
13+
14+
if __name__ == '__main__':
15+
main()

0 commit comments

Comments
 (0)