Skip to content

Commit

Permalink
Rework logging system
Browse files Browse the repository at this point in the history
This makes logging actually a no-op when the logging feature is
disabled. This is important, because Instant::now() panics in wasm.
  • Loading branch information
github-actions[bot] committed Mar 24, 2022
1 parent 7586142 commit 72f5a09
Show file tree
Hide file tree
Showing 57 changed files with 402 additions and 330 deletions.
2 changes: 1 addition & 1 deletion docs/ext/all.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
</head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a class="sidebar-logo" href="../ext/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.png" alt="logo"></div>
</a><h2 class="location">Crate ext</h2><div class="block version"><p>Version 0.1.0</p></div><a id="all-types" href="index.html"><p>Back to index</p></a></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../ext/index.html"><img class="rust-logo" src="../rust-logo.png" alt="logo"></a><nav class="sub"><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav></div><section id="main-content" class="content"><h1 class="fqn"><span class="in-band">List of all items</span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span>
</span>
</h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="chain_complex/struct.ChainMap.html">chain_complex::ChainMap</a></li><li><a href="chain_complex/struct.FiniteAugmentedChainComplex.html">chain_complex::FiniteAugmentedChainComplex</a></li><li><a href="chain_complex/struct.FiniteChainComplex.html">chain_complex::FiniteChainComplex</a></li><li><a href="chain_complex/struct.StemIterator.html">chain_complex::StemIterator</a></li><li><a href="chain_complex/struct.TensorChainComplex.html">chain_complex::TensorChainComplex</a></li><li><a href="chain_complex/finite_chain_complex/struct.FiniteAugmentedChainComplex.html">chain_complex::finite_chain_complex::FiniteAugmentedChainComplex</a></li><li><a href="chain_complex/finite_chain_complex/struct.FiniteChainComplex.html">chain_complex::finite_chain_complex::FiniteChainComplex</a></li><li><a href="chain_complex/tensor_product_chain_complex/struct.TensorChainComplex.html">chain_complex::tensor_product_chain_complex::TensorChainComplex</a></li><li><a href="chain_complex/tensor_product_chain_complex/struct.TensorChainMap.html">chain_complex::tensor_product_chain_complex::TensorChainMap</a></li><li><a href="nassau/struct.MilnorSubalgebra.html">nassau::MilnorSubalgebra</a></li><li><a href="nassau/struct.Resolution.html">nassau::Resolution</a></li><li><a href="nassau/struct.SenderData.html">nassau::SenderData</a></li><li><a href="nassau/struct.SignatureIterator.html">nassau::SignatureIterator</a></li><li><a href="nassau/struct.SubalgebraIterator.html">nassau::SubalgebraIterator</a></li><li><a href="resolution/struct.Resolution.html">resolution::Resolution</a></li><li><a href="resolution/struct.SenderData.html">resolution::SenderData</a></li><li><a href="resolution_homomorphism/struct.ResolutionHomomorphism.html">resolution_homomorphism::ResolutionHomomorphism</a></li><li><a href="save/struct.ChecksumReader.html">save::ChecksumReader</a></li><li><a href="save/struct.ChecksumWriter.html">save::ChecksumWriter</a></li><li><a href="save/struct.SaveFile.html">save::SaveFile</a></li><li><a href="secondary/struct.SecondaryComposite.html">secondary::SecondaryComposite</a></li><li><a href="secondary/struct.SecondaryHomotopy.html">secondary::SecondaryHomotopy</a></li><li><a href="secondary/struct.SecondaryResolution.html">secondary::SecondaryResolution</a></li><li><a href="utils/struct.Config.html">utils::Config</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="chain_complex/enum.ChainComplexGrading.html">chain_complex::ChainComplexGrading</a></li><li><a href="nassau/enum.Magic.html">nassau::Magic</a></li><li><a href="save/enum.SaveKind.html">save::SaveKind</a></li><li><a href="utils/enum.LoadQuasiInverseOption.html">utils::LoadQuasiInverseOption</a></li></ul><h3 id="Traits">Traits</h3><ul class="traits docblock"><li><a href="chain_complex/trait.AugmentedChainComplex.html">chain_complex::AugmentedChainComplex</a></li><li><a href="chain_complex/trait.BoundedChainComplex.html">chain_complex::BoundedChainComplex</a></li><li><a href="chain_complex/trait.ChainComplex.html">chain_complex::ChainComplex</a></li><li><a href="chain_complex/trait.CochainComplex.html">chain_complex::CochainComplex</a></li><li><a href="chain_complex/trait.FreeChainComplex.html">chain_complex::FreeChainComplex</a></li><li><a href="secondary/trait.SecondaryLift.html">secondary::SecondaryLift</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="save/fn.open_file.html">save::open_file</a></li><li><a href="secondary/fn.can_compute.html">secondary::can_compute</a></li><li><a href="utils/fn.construct.html">utils::construct</a></li><li><a href="utils/fn.construct_nassau.html">utils::construct_nassau</a></li><li><a href="utils/fn.construct_standard.html">utils::construct_standard</a></li><li><a href="utils/fn.get_unit.html">utils::get_unit</a></li><li><a href="utils/fn.iter_s_t.html">utils::iter_s_t</a></li><li><a href="utils/fn.load_module_json.html">utils::load_module_json</a></li><li><a href="utils/fn.log_time.html">utils::log_time</a></li><li><a href="utils/fn.parse_module_name.html">utils::parse_module_name</a></li><li><a href="utils/fn.print_element.html">utils::print_element</a></li><li><a href="utils/fn.query_module.html">utils::query_module</a></li><li><a href="utils/fn.query_module_only.html">utils::query_module_only</a></li><li><a href="utils/fn.secondary_job.html">utils::secondary_job</a></li><li><a href="utils/fn.unicode_num.html">utils::unicode_num</a></li><li><a href="yoneda/fn.compute_kernel_image.html">yoneda::compute_kernel_image</a></li><li><a href="yoneda/fn.operation_drop.html">yoneda::operation_drop</a></li><li><a href="yoneda/fn.rate_adem_operation.html">yoneda::rate_adem_operation</a></li><li><a href="yoneda/fn.rate_milnor_operation.html">yoneda::rate_milnor_operation</a></li><li><a href="yoneda/fn.rate_operation.html">yoneda::rate_operation</a></li><li><a href="yoneda/fn.split_mut_borrow.html">yoneda::split_mut_borrow</a></li><li><a href="yoneda/fn.yoneda_representative.html">yoneda::yoneda_representative</a></li><li><a href="yoneda/fn.yoneda_representative_element.html">yoneda::yoneda_representative_element</a></li><li><a href="yoneda/fn.yoneda_representative_with_strategy.html">yoneda::yoneda_representative_with_strategy</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="type.CCC.html">CCC</a></li><li><a href="chain_complex/tensor_product_chain_complex/type.STM.html">chain_complex::tensor_product_chain_complex::STM</a></li><li><a href="chain_complex/tensor_product_chain_complex/type.TensorSquareCC.html">chain_complex::tensor_product_chain_complex::TensorSquareCC</a></li><li><a href="secondary/type.CompositeData.html">secondary::CompositeData</a></li><li><a href="utils/type.QueryModuleResolution.html">utils::QueryModuleResolution</a></li><li><a href="yoneda/type.Yoneda.html">yoneda::Yoneda</a></li></ul><h3 id="Constants">Constants</h3><ul class="constants docblock"><li><a href="nassau/constant.MAX_NEW_GENS.html">nassau::MAX_NEW_GENS</a></li><li><a href="resolution/constant.MAX_NEW_GENS.html">resolution::MAX_NEW_GENS</a></li><li><a href="utils/constant.STATIC_MODULES_PATH.html">utils::STATIC_MODULES_PATH</a></li><li><a href="yoneda/constant.PENALTY_UNIT.html">yoneda::PENALTY_UNIT</a></li></ul></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="ext" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.59.0 (9d1b2106e 2022-02-23)" ></div>
</h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="chain_complex/struct.ChainMap.html">chain_complex::ChainMap</a></li><li><a href="chain_complex/struct.FiniteAugmentedChainComplex.html">chain_complex::FiniteAugmentedChainComplex</a></li><li><a href="chain_complex/struct.FiniteChainComplex.html">chain_complex::FiniteChainComplex</a></li><li><a href="chain_complex/struct.StemIterator.html">chain_complex::StemIterator</a></li><li><a href="chain_complex/struct.TensorChainComplex.html">chain_complex::TensorChainComplex</a></li><li><a href="chain_complex/finite_chain_complex/struct.FiniteAugmentedChainComplex.html">chain_complex::finite_chain_complex::FiniteAugmentedChainComplex</a></li><li><a href="chain_complex/finite_chain_complex/struct.FiniteChainComplex.html">chain_complex::finite_chain_complex::FiniteChainComplex</a></li><li><a href="chain_complex/tensor_product_chain_complex/struct.TensorChainComplex.html">chain_complex::tensor_product_chain_complex::TensorChainComplex</a></li><li><a href="chain_complex/tensor_product_chain_complex/struct.TensorChainMap.html">chain_complex::tensor_product_chain_complex::TensorChainMap</a></li><li><a href="nassau/struct.MilnorSubalgebra.html">nassau::MilnorSubalgebra</a></li><li><a href="nassau/struct.Resolution.html">nassau::Resolution</a></li><li><a href="nassau/struct.SenderData.html">nassau::SenderData</a></li><li><a href="nassau/struct.SignatureIterator.html">nassau::SignatureIterator</a></li><li><a href="nassau/struct.SubalgebraIterator.html">nassau::SubalgebraIterator</a></li><li><a href="resolution/struct.Resolution.html">resolution::Resolution</a></li><li><a href="resolution/struct.SenderData.html">resolution::SenderData</a></li><li><a href="resolution_homomorphism/struct.ResolutionHomomorphism.html">resolution_homomorphism::ResolutionHomomorphism</a></li><li><a href="save/struct.ChecksumReader.html">save::ChecksumReader</a></li><li><a href="save/struct.ChecksumWriter.html">save::ChecksumWriter</a></li><li><a href="save/struct.SaveFile.html">save::SaveFile</a></li><li><a href="secondary/struct.SecondaryComposite.html">secondary::SecondaryComposite</a></li><li><a href="secondary/struct.SecondaryHomotopy.html">secondary::SecondaryHomotopy</a></li><li><a href="secondary/struct.SecondaryResolution.html">secondary::SecondaryResolution</a></li><li><a href="utils/struct.Config.html">utils::Config</a></li><li><a href="utils/struct.Timer.html">utils::Timer</a></li><li><a href="utils/timer/struct.Timer.html">utils::timer::Timer</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="chain_complex/enum.ChainComplexGrading.html">chain_complex::ChainComplexGrading</a></li><li><a href="nassau/enum.Magic.html">nassau::Magic</a></li><li><a href="save/enum.SaveKind.html">save::SaveKind</a></li><li><a href="utils/enum.LoadQuasiInverseOption.html">utils::LoadQuasiInverseOption</a></li></ul><h3 id="Traits">Traits</h3><ul class="traits docblock"><li><a href="chain_complex/trait.AugmentedChainComplex.html">chain_complex::AugmentedChainComplex</a></li><li><a href="chain_complex/trait.BoundedChainComplex.html">chain_complex::BoundedChainComplex</a></li><li><a href="chain_complex/trait.ChainComplex.html">chain_complex::ChainComplex</a></li><li><a href="chain_complex/trait.CochainComplex.html">chain_complex::CochainComplex</a></li><li><a href="chain_complex/trait.FreeChainComplex.html">chain_complex::FreeChainComplex</a></li><li><a href="secondary/trait.SecondaryLift.html">secondary::SecondaryLift</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="save/fn.open_file.html">save::open_file</a></li><li><a href="secondary/fn.can_compute.html">secondary::can_compute</a></li><li><a href="utils/fn.construct.html">utils::construct</a></li><li><a href="utils/fn.construct_nassau.html">utils::construct_nassau</a></li><li><a href="utils/fn.construct_standard.html">utils::construct_standard</a></li><li><a href="utils/fn.get_unit.html">utils::get_unit</a></li><li><a href="utils/fn.iter_s_t.html">utils::iter_s_t</a></li><li><a href="utils/fn.load_module_json.html">utils::load_module_json</a></li><li><a href="utils/fn.parse_module_name.html">utils::parse_module_name</a></li><li><a href="utils/fn.print_element.html">utils::print_element</a></li><li><a href="utils/fn.query_module.html">utils::query_module</a></li><li><a href="utils/fn.query_module_only.html">utils::query_module_only</a></li><li><a href="utils/fn.secondary_job.html">utils::secondary_job</a></li><li><a href="utils/fn.unicode_num.html">utils::unicode_num</a></li><li><a href="yoneda/fn.compute_kernel_image.html">yoneda::compute_kernel_image</a></li><li><a href="yoneda/fn.operation_drop.html">yoneda::operation_drop</a></li><li><a href="yoneda/fn.rate_adem_operation.html">yoneda::rate_adem_operation</a></li><li><a href="yoneda/fn.rate_milnor_operation.html">yoneda::rate_milnor_operation</a></li><li><a href="yoneda/fn.rate_operation.html">yoneda::rate_operation</a></li><li><a href="yoneda/fn.split_mut_borrow.html">yoneda::split_mut_borrow</a></li><li><a href="yoneda/fn.yoneda_representative.html">yoneda::yoneda_representative</a></li><li><a href="yoneda/fn.yoneda_representative_element.html">yoneda::yoneda_representative_element</a></li><li><a href="yoneda/fn.yoneda_representative_with_strategy.html">yoneda::yoneda_representative_with_strategy</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="type.CCC.html">CCC</a></li><li><a href="chain_complex/tensor_product_chain_complex/type.STM.html">chain_complex::tensor_product_chain_complex::STM</a></li><li><a href="chain_complex/tensor_product_chain_complex/type.TensorSquareCC.html">chain_complex::tensor_product_chain_complex::TensorSquareCC</a></li><li><a href="secondary/type.CompositeData.html">secondary::CompositeData</a></li><li><a href="utils/type.QueryModuleResolution.html">utils::QueryModuleResolution</a></li><li><a href="yoneda/type.Yoneda.html">yoneda::Yoneda</a></li></ul><h3 id="Constants">Constants</h3><ul class="constants docblock"><li><a href="nassau/constant.MAX_NEW_GENS.html">nassau::MAX_NEW_GENS</a></li><li><a href="resolution/constant.MAX_NEW_GENS.html">resolution::MAX_NEW_GENS</a></li><li><a href="utils/constant.STATIC_MODULES_PATH.html">utils::STATIC_MODULES_PATH</a></li><li><a href="yoneda/constant.PENALTY_UNIT.html">yoneda::PENALTY_UNIT</a></li></ul></section><section id="search" class="content hidden"></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="ext" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.59.0 (9d1b2106e 2022-02-23)" ></div>
</body></html>
Loading

0 comments on commit 72f5a09

Please sign in to comment.