Merge pull request #3 from jboegeholz/pylg-dev

Pylg dev
This commit is contained in:
Wojciech Kozlowski 2019-07-30 18:54:45 +02:00 committed by GitHub
commit 8443ffe4c4
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