Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollor committed Feb 12, 2017
1 parent 6295f72 commit 2a20f65
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Usage: simpleLogger.py [options]
simple logger - A simple MQTT logger to show or save mqtt data.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
MQTT settings:
Expand All @@ -36,9 +37,13 @@ Options:
Basic settings:
-f FILENAME, --filename=FILENAME
destination for mqtt message
destination file for mqtt message
-l LOGLEVEL, --loglevel=LOGLEVEL
50: critical 40: error 30: warning 20:info
10:debug
--with-timestring add timestring as suffix for filename
--newline=NEWLINE newline character for logging file, default \n
-v, --verbose show debug messages
-v, --verbose show debug messages (overrites loglevel to debug)
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion simpleLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
except Exception as e:
GIT_HASH = ""
# end try
__version__ = "0.1.0a-" + str(GIT_HASH)
__version__ = "0.1.0b-" + str(GIT_HASH)


DEFAULT_MQTT_SERVER = "127.0.0.1"
Expand Down

0 comments on commit 2a20f65

Please sign in to comment.