banhxeo
Getting Started
Installation
API References
banhxeo
banhxeo package
set_default_gpu()
Subpackages
banhxeo.core package
banhxeo.data package
banhxeo.model package
banhxeo.train package
banhxeo.utils package
banhxeo
banhxeo
banhxeo package
banhxeo.utils package
banhxeo.utils.logging module
View page source
banhxeo.utils.logging module
class
banhxeo.utils.logging.
PrintLogger
[source]
Bases:
object
template
:
str
=
'[{level}]:
{msg}'
info
(
msg
:
str
)
[source]
debug
(
msg
:
str
)
[source]
exception
(
msg
:
str
)
[source]
error
(
msg
:
str
)
[source]
warning
(
msg
:
str
)
[source]
class
banhxeo.utils.logging.
Logger
[source]
Bases:
object
__init__
(
)
[source]
info
(
msg
:
str
)
[source]
debug
(
msg
:
str
)
[source]
exception
(
msg
:
str
)
[source]
error
(
msg
:
str
)
[source]
warning
(
msg
:
str
)
[source]
check_and_raise
(
msg
:
str
,
error_type
:
Exception
,
condition
:
Any
)
[source]