EC_LOG_NAME(3)
β¨ EC_LOG_NAME(3) β¨
okay bestie, welcome to the Libecoli Programmer's Manual π this one's a lil baby page but it's lowkey essential, iykyk.
πΈ NAME πΈ
ec_log_name β returns the log name that's associated with the log type identifier. that's it. that's the whole job. she's simple, she's reliable, she's giving dependable bestie energy π«Ά
π SYNOPSIS π
#include <ecoli/log.h>
const char * ec_log_name(
int type /* The log type identifier. */
);
so you gotta pull in <ecoli/log.h> first, obviously π
then you hand her an int type β that's the log type identifier β and she hands you back a string. no drama, no surprises β¨
π¦ RETURN VALUE π¦
she gives you back the name associated with that log type π and if she doesn't know it? she says "unknown". not in a shady way, just facts. ngl she always returns a valid string β she will never hand you NULL. never ever. periodt π
π SEE ALSO π
the whole friend group, go say hi:
ec_log_fct_register(3)ec_log_level_set(3)ec_vlog(3)ec_log_level_get(3)ec_log(3)ec_log_default_cb(3)ec_log_type_register(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
okay so that's the page!! π shoutout to the libecoli girlies for keeping it iconic, this manual shipped on 2026-06-11, and yes that's the source + version + date all wrapped up with a bow π mwah, go forth and log responsibly bestie π§β¨
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms