mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Add log.c with info() and warn()
This commit is contained in:
parent
5ea1527558
commit
2a17df0f8b
11 changed files with 68 additions and 17 deletions
14
include/common/log.h
Normal file
14
include/common/log.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef __LABWC_LOG_H
|
||||
#define __LABWC_LOG_H
|
||||
|
||||
/**
|
||||
* info - print info message
|
||||
*/
|
||||
void info(const char *msg, ...);
|
||||
|
||||
/**
|
||||
* warn - print warning
|
||||
*/
|
||||
void warn(const char *err, ...);
|
||||
|
||||
#endif /* __LABWC_LOG_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue