Skip to content

Commit

Permalink
logger
Browse files Browse the repository at this point in the history
  • Loading branch information
CblPOK-git committed Jan 31, 2024
1 parent 0905eea commit b2d0ed9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/nil/blueprint/handle_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ namespace nil {
component_finished[component_instance.component_name] = true;
}


BOOST_LOG_TRIVIAL(debug) << "Using component \"" << component_instance.component_name << "\"";

bool enable_experimental = true;

if (!(component_finished[component_instance.component_name] || enable_experimental)) {
Expand All @@ -190,9 +193,7 @@ namespace nil {
if (component_finished[component_instance.component_name]) {
components::generate_circuit(component_instance, bp, assignment, instance_input, start_row);
} else {
std::cerr << "skipped constraints generation for ";
std::cerr << component_instance.component_name;
std::cerr << " component\n";
BOOST_LOG_TRIVIAL(debug) << "component contains experimental features, constraints generation skipped";
}

if (target_prover_idx == assignment.get_id() || target_prover_idx == std::numeric_limits<std::uint32_t>::max()) {
Expand Down

0 comments on commit b2d0ed9

Please sign in to comment.