Merge pull request #1 from jboegeholz/jboegeholz-patch-1

Update README.rst
This commit is contained in:
Joern Boegeholz 2019-07-30 17:23:58 +02:00 committed by GitHub
commit 41d0177f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ To automatically log function entry and exit use the
:: ::
@TraceFunction @TraceFunction
def some_fuction(): def some_function():
pass pass
Despite the name, this works for both functions and methods. Despite the name, this works for both functions and methods.
@ -84,11 +84,11 @@ These arguments have to specified explicitly by name. Some examples:
:: ::
@TraceFunction(trace_args = False) @TraceFunction(trace_args = False)
def some_fuction(): def some_function():
pass pass
@TraceFunction(trace_args = False, exception_tb_stderr = True) @TraceFunction(trace_args = False, exception_tb_stderr = True)
def some_fuction(): def some_function():
pass pass
The other way to interact with PyLg is to log a user defined message The other way to interact with PyLg is to log a user defined message