mirror of
https://github.com/Wojtek242/pylg.git
synced 2024-11-23 16:15:25 +01:00
Update README.rst
correct spelling
This commit is contained in:
parent
302d911d55
commit
ac226a9831
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user