[bind10-dev] internationalization for specification descriptions?

Likun Zhang zlkzhy at gmail.com
Mon Oct 18 10:49:30 UTC 2010


> log(AUTH_FNF, "file %s not found", db_file) to produce something like
> "AUTH_FNF - Error: file /var/temp/db001.db not found"
> 
> ... or should we have:
> 
> log_error(AUTH_FNF, "file %s not found", db_file) producing "AUTH_FNF -
Error:
> file /var/temp/db001.db not found"
> log_info(AUTH_FNF, "file %s not found", db_file) producing "AUTH_FNF -
Info:
> file /var/temp/db001.db not found"

I would like the former way, since we will add some number level, or else we
will have function name as log_info_level53(AUTH_FNF, "file %s not found",
db_file)







More information about the bind10-dev mailing list