[ CCUnit project page ] |  | [ CCUnit home page ]

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

# CCUnitLogMessage.h

Go to the documentation of this file.

    00001 /* -*- C -*- */
    00002 /* Copyright (C) 2003 TSUTSUMI Kikuo.
    00003    This file is part of the CCUnit Library.
    00004
    00005    The CCUnit Library is free software; you can redistribute it and/or
    00006    modify it under the terms of the GNU Lesser General Public License
    00007    as published by the Free Software Foundation; either version 2.1 of
    00008    the License, or (at your option) any later version.
    00009
    00010    The CCUnit Library is distributed in the hope that it will be
    00011    useful, but WITHOUT ANY WARRANTY; without even the implied warranty
    00012    of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    00013    GNU Lesser General Public License for more details.
    00014
    00015    You should have received a copy of the GNU Lesser General Public
    00016    License along with the CCUnit Library; see the file COPYING.LESSER.
    00017    If not, write to the Free Software Foundation, Inc., 59 Temple
    00018    Place - Suite 330, Boston, MA 02111-1307, USA.
    00019 */
    00020
    00021 /*
    00022  * $Id: CCUnitLogMessage.h,v 1.4 2003/09/14 18:56:16 tsutsumi Exp $
    00023  */
    00024
    00028 #ifndef CCUNITLOGMASSAGE_H
    00029 #define CCUNITLOGMASSAGE_H
    00030
    00031 #include <ccunit/CCUnitConfig.h>
    00032
    00043 extern bool _ccunit_debug_message;
    00044
    00048 extern bool _ccunit_verbose_message;
    00049
    00055 extern inline void ccunit_dbg (const char* fmt, ...)
    00056   __attribute__ ((format (printf, 1, 2)));
    00057
    00063 extern inline void ccunit_log (const char* fmt, ...)
    00064   __attribute__ ((format (printf, 1, 2)));
    00065
    00071 extern inline void ccunit_err (const char* fmt, ...)
    00072   __attribute__ ((format (printf, 1, 2)));
    00073
    00079 extern inline void ccunit_msg (const char* fmt, ...)
    00080   __attribute__ ((format (printf, 1, 2)));
    00081
    00083 #endif

| hosts this site. |  | Send comments to: CCUnit Developer |