On Tuesday, July 31, 2012, Leandro Pereira wrote: > On Tue, Jul 31, 2012 at 7:42 PM, Enlightenment SVN > <[email protected] <javascript:;>> wrote: > > static void > > +_edje_cc_log_cb(const Eina_Log_Domain *d, > > + Eina_Log_Level level, > > + const char *file, > > + const char *fnc, > > + int line, > > + const char *fmt, > > + __UNUSED__ void *data, > > + va_list args) > > Shouldn't platform-dependent stuff inside this function be inside > Eina_Log itself, with a eina_log_color_printf() function with color > codes like %R, %G, %B, %C, %M, %Y, %K, %W, etc? Or at least a > eina_log_console_color_set() and eina_log_console_color_reset() > function pair. > > Nice idea. Could add these tomorrow. If I forget someone remember me.
The printf() variant is slower and more complex. I plan to add a windows version of color get, or expose a color set that parses it for windows (done, just need expose) > -- > Leandro > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-devel mailing list > [email protected] <javascript:;> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
