Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F2822359
log.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
log.h
View Options
/*
* Copyright (C) 2010-2011 Red Hat, Inc. All rights reserved.
* (This code is borrowed from the sanlock project which is hosted on
* fedorahosted.org.)
*
* This program 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.1 of the License, or (at your option) any later version.
*
* This software 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 this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _LOG_H
#define _LOG_H
#include <heartbeat/glue_config.h>
#include <clplumbing/cl_log.h>
#define log_debug(fmt, args...) do { if (ANYDEBUG) cl_log(LOG_DEBUG, fmt, ##args); } while (0)
#define log_info(fmt, args...) cl_log(LOG_INFO, fmt, ##args)
#define log_warn(fmt, args...) cl_log(LOG_WARNING, fmt, ##args)
#define log_error(fmt, args...) cl_log(LOG_ERR, fmt, ##args)
#endif /* _LOG_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Jan 25, 5:35 AM (14 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1321412
Default Alt Text
log.h (1 KB)
Attached To
Mode
rB Booth
Attached
Detach File
Event Timeline
Log In to Comment