Skip to content

Commit

Permalink
Add logging. Closes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeigi committed Aug 1, 2019
1 parent d0a23f6 commit fd28c42
Show file tree
Hide file tree
Showing 4 changed files with 175 additions and 53 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Avoid committing config file
# Cofig file
src/config.ini

# Avoid committing credentials
# Sensitive credentials
src/credentials.json
src/token.json

# Logs
logs/

# Github.com gitignore/Python.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
5 changes: 3 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
__email__ = '[email protected]'
__license__ = "GPLv3"
__maintainer__ = 'Mo Beigi'
__status__ = "Production"
__status__ = 'Production'
__website__ = 'https://git.io/fjMwr'

# Make metadata public to script
__all__ = ['__author__', '__copyright__', '__email__', '__license__', '__maintainer__', '__status__', '__version_info__', '__version__']
__all__ = ['__author__', '__copyright__', '__email__', '__license__', '__maintainer__', '__status__', '__website__', '__version_info__', '__version__']
2 changes: 2 additions & 0 deletions src/config-template.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ fb_pass =
drive_file_id =
ics_file_name = birthdays.ics

[LOGGING]
level = INFO
Loading

0 comments on commit fd28c42

Please sign in to comment.