adding secret bindings

This commit is contained in:
Kbz-8
2025-03-12 22:57:29 +01:00
parent ac05312375
commit 91c87e2b7a
15 changed files with 137 additions and 11 deletions

View File

@@ -21,8 +21,10 @@ namespace mlx
{
using namespace std::literals;
#ifndef DEBUG
if(type == LogType::Debug && std::getenv("MLX_DEBUG_LOGS") == nullptr)
return;
#endif
std::string code_infos;
if((type == LogType::Error || type == LogType::FatalError) && !file.empty() && !function.empty())