Annotation of /trunk/grubby/log.h
Parent Directory | Revision Log
Revision 2236 -
(hide annotations)
(download)
Mon Oct 21 13:19:07 2013 UTC (10 years, 11 months ago) by niro
File MIME type: text/plain
File size: 950 byte(s)
Mon Oct 21 13:19:07 2013 UTC (10 years, 11 months ago) by niro
File MIME type: text/plain
File size: 950 byte(s)
Add logging when things fail.
1 | niro | 2236 | /* |
2 | * log.h | ||
3 | * | ||
4 | * Copyright 2013 Red Hat, Inc. | ||
5 | * All rights reserved. | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | ||
20 | #ifndef GRUBBY_LOG_H | ||
21 | #define GRUBBY_LOG_H 1 | ||
22 | |||
23 | extern int log_time(FILE *log); | ||
24 | extern int log_vmessage(FILE *log, const char *msg, va_list ap); | ||
25 | extern int log_message(FILE *log, const char *msg, ...); | ||
26 | |||
27 | #endif /* GRUBBY_LOG_H */ |