/*****************************************************************************
 * HPT --- FTN NetMail/EchoMail Tosser
 *****************************************************************************
 * Copyright (C) 1997-1999
 *
 * Matthias Tichy
 *
 * Fido:     2:2433/1245 2:2433/1247 2:2432/605.14
 * Internet: mtt@tichy.de
 *
 * Grimmestr. 12         Buchholzer Weg 4
 * 33098 Paderborn       40472 Duesseldorf
 * Germany               Germany
 *
 * This file is part of HPT.
 *
 * HPT is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2, or (at your option) any
 * later version.
 *
 * HPT is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with HPT; see the file COPYING.  If not, write to the Free
 * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 *****************************************************************************
 * $Id: tlog.c,v 1.13 2002/11/17 01:39:00 stas_degteff Rel $
 */
#include <fidoconf/log.h>

int main()
{
   s_log *hpt_log = NULL;

   hpt_log = openLog("tlog.log", "tlog v0.0.7", "abc123",1);
   if (NULL == hpt_log) { printf( "asdf\n" ); return 1; }

   w_log(LL_START, "this goes into the log (level 1)");
   w_log(' ', "and this not");

   closeLog();
   return 0;
}


syntax highlighted by Code2HTML, v. 0.9.1