        Copyright(C) 1997 Network Flight Recorder, Inc.
        All rights reserved.

        Use and distribution of this software and its source code
        are governed by the terms and conditions of the
        Network Flight Recorder Software License ("LICENSE.TXT")

By Mark Sienkiewicz / NFR

This is a minor debugging tool that lets you use "record" statements
to get a little bit of information out of your N code.  It can
also be used to test the interface between nfrd and recorders.


Here is some sample N code for how you might use this recorder:

# declare a schema with a single integer.  The first number in the
# schema list is the schema number, the second number is a 1 for
# integer.
	sch = [ 2, 1 ];

# make a recorder using that schema and the diagrec recorder
	foo = recorder("bin/diagrec your-message","sch");

#
# at various points in your N code, write
		record 1 to foo;
# or
		record 2 to foo;

# Each record send to it will make it print on stderr.  You will see

	your-message: 2 1
	your-message: 2 2
	your-message: 57007 881335146


"your-message" was the arg to the diagrec program.  The first number
is the schema number.  (57007 is the timestamp schema - expect lots
of them to happen automatically.)  The second column is the integer
you used in your record statement.

