Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/ic



On Sun, Apr 20, 2008 at 12:03:49AM +0900, Izumi Tsutsui wrote:
> > I don't think it made sense in the original wording before either.
> > What it makes sense for is: "Some error happened" and "This are error
> > messages". E.g. it would be easy for wscons console to use a different
> > color for error messages.
> 
> I'm saying aprint_error(9) is not the one. That's all.
> Please define API first.

Ignore the error counting part for a moment. What is wrong with 
aprint_debug
aprint_verbose
aprint_normal
aprint_error
in decreasing order of verbosity? log(9)-like interface are not simpler,
but harder to use for mechanical processing. You are just repeating
"this is wrong". I have not heard what should be better.

Joerg


Home | Main Index | Thread Index | Old Index