scikit-
nano
:docs
Index
Modules
Navigation
next »
« previous
|
scikit-nano v0.4.0.dev
»
Core package code (
sknano.core
)
»
logged
logged
¶
sknano.core.
logged
(
func=None
,
*
,
level=10
,
name=None
,
message=None
)
[source]
[edit on github]
[source]
¶
Decorator to add logging to a function.
Parameters:
func
(
callable
) – Decorated function
level
(
int
) – Logging level
name
(
str
, optional) – Logger name
message
(
str
, optional) – Log message
Page Contents
logged