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:


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