Node's console, in Python spelling. Each logging method writes
one entry made of args.
Functions#
assert_#
assert_(condition, *args) -> NoneWrite args as an assertion failure unless condition.
| Parameter | Type | Description |
|---|---|---|
condition | bool | |
args | object = () |
def assert_(self, condition: bool, *args: object) -> None:
"""Write ``args`` as an assertion failure unless ``condition``."""
...clear#
clear() -> Nonedef clear(self) -> None: ...count#
count(label='default') -> None| Parameter | Type | Description |
|---|---|---|
label | str = 'default' |
def count(self, label: str = "default") -> None: ...count_reset#
count_reset(label='default') -> None| Parameter | Type | Description |
|---|---|---|
label | str = 'default' |
def count_reset(self, label: str = "default") -> None: ...debug#
debug(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def debug(self, *args: object) -> None: ...dir#
dir(item) -> None| Parameter | Type | Description |
|---|---|---|
item | object |
def dir(self, item: object) -> None: ...error#
error(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def error(self, *args: object) -> None: ...group#
group(*args) -> NoneWrite args (if any) and indent what follows until
group_end.
| Parameter | Type | Description |
|---|---|---|
args | object = () |
def group(self, *args: object) -> None:
"""Write ``args`` (if any) and indent what follows until
``group_end``."""
...group_collapsed#
group_collapsed(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def group_collapsed(self, *args: object) -> None: ...group_end#
group_end() -> Nonedef group_end(self) -> None: ...info#
info(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def info(self, *args: object) -> None: ...log#
log(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def log(self, *args: object) -> None: ...table#
table(data, properties=None) -> None| Parameter | Type | Description |
|---|---|---|
data | object | |
properties | Sequence[str] | None = None |
def table(self, data: object, properties: Sequence[str] | None = None) -> None: ...time#
time(label='default') -> None| Parameter | Type | Description |
|---|---|---|
label | str = 'default' |
def time(self, label: str = "default") -> None: ...time_end#
time_end(label='default') -> None| Parameter | Type | Description |
|---|---|---|
label | str = 'default' |
def time_end(self, label: str = "default") -> None: ...time_log#
time_log(label='default', *args) -> None| Parameter | Type | Description |
|---|---|---|
label | str = 'default' | |
args | object = () |
def time_log(self, label: str = "default", *args: object) -> None: ...trace#
trace(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def trace(self, *args: object) -> None: ...warn#
warn(*args) -> None| Parameter | Type | Description |
|---|---|---|
args | object = () |
def warn(self, *args: object) -> None: ...