neuraxle.logging.logging

Module-level documentation for neuraxle.logging.logging. Here is an inheritance diagram, including dependencies to other base modules of Neuraxle:

Inheritance diagram of neuraxle.logging.logging

Neuraxle’s Logging module

This module contains the Logging class, which is used to log information about the execution of a pipeline. It is used by the classes inheriting from BaseStep to log information. It is also modified by the AutoML class and its Trainer and various Trial repositories-related classes to log info in various folders.

Classes

NeuraxleLogger(name[, level])


class neuraxle.logging.logging._FilterSTDErr(name='')[source]

Bases: logging.Filter

filter(record)[source]

Determine if the specified record is to be logged.

Is the specified record to be logged? Returns 0 for no, nonzero for yes. If deemed appropriate, the record may be modified in-place.

class neuraxle.logging.logging.NeuraxleLogger(name, level=0)[source]

Bases: logging.Logger

static from_identifier(identifier: str) → neuraxle.logging.logging.NeuraxleLogger[source]

Returns a logger from an identifier. :type identifier: str :param identifier: The identifier of the logger :return: The logger

with_string_io(identifier: str) → neuraxle.logging.logging.NeuraxleLogger[source]

Returns a logger from an identifier. :type identifier: str :param identifier: The identifier of the logger :return: The logger

with_file_handler(file_path: str) → neuraxle.logging.logging.NeuraxleLogger[source]

Returns a logger from an identifier. :type file_path: str :param identifier: The identifier of the logger :return: The logger

without_file_handler() → neuraxle.logging.logging.NeuraxleLogger[source]

Returns a logger from an identifier. :param identifier: The identifier of the logger :return: The logger

read_log_file() → List[str][source]
with_std_handlers() → neuraxle.logging.logging.NeuraxleLogger[source]
get_scoped_string_history() → str[source]
get_root_string_history() → str[source]
print_root_string_history() → None[source]
_add_stream_handler(handler_name: str, stream: IO, level: Optional[int] = None, _filter: Optional[logging.Filter] = None) → neuraxle.logging.logging.NeuraxleLogger[source]
_add_partial_handler(handler_name: str, handler: logging.Handler, level: Optional[int] = None, _filter: Optional[logging.Filter] = None) → neuraxle.logging.logging.NeuraxleLogger[source]