Subject: Re: howto debug kernel
To: Lian Keng Lim <kengl+@andrew.cmu.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 05/12/1997 10:39:03
On Mon, 12 May 1997 09:04:38 -0400 (EDT) 
 Lian Keng Lim <kengl+@andrew.cmu.edu> wrote:

 > > ...actually, there is a "log()", but printf() is better for debugging :-)
 > > 
 > Is log() documented in the man pages?  I can't seem to find anything on
 > it when I do a "man log".

...not really, but it works like:

	log(LOG_INFO, "This is a message.\n");

...and uses standard printf format frobs.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939