EC_LOG_LEVEL_GET(3)

✨ EC_LOG_LEVEL_GET ✨

ok so bestie, welcome to the Libecoli Programmer's Manual πŸ’– this one's a tiny little function page and honestly it's giving "short but iconic" energy. no cap.


🌸 NAME 🌸

ec_log_level_get β€” get the global log level πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <ecoli/log.h>

enum ec_log_level ec_log_level_get(
    void
);

like. that's it. that's the whole thing. she takes void, she returns an enum ec_log_level. princess behavior honestly πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

so this level right here? it's the one the default log handler uses β€” that's ec_log_default_cb(), iykyk. 🫢

and the vibe is: all messages that are at least as critical as the default level are displayed. meaning if a message is exactly that critical, or more critical than it, it shows up. anything less spicy than the default level? nope, not showing. πŸ™ˆ


⭐ RETURN VALUE ⭐

the current global log level ✨ that's it. that's the tea.


🌈 SEE ALSO 🌈

these are the besties, go say hi:


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's a wrap, bestie!! πŸŽ€ this page came straight from libecoli and it's dated 2026-06-11 β€” so like, stay fresh, hydrate, and go read ec_log_level_set(3) next if you wanna be the one setting the vibe instead of just peeking at it πŸ’…βœ¨ mwah! πŸ¦‹πŸ’–

πŸ“¦ where this page comes from