Commit 69ded4e2 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Move girara_log_level_t to log.h

We do not need it anywhere else.
parent 9587f3d1
...@@ -6,9 +6,19 @@ ...@@ -6,9 +6,19 @@
#include <glib.h> #include <glib.h>
#include <stdarg.h> #include <stdarg.h>
#include "types.h"
#include "macros.h" #include "macros.h"
/**
* Log levels
*/
typedef enum girara_log_level_e
{
GIRARA_DEBUG, /**> Debug messages */
GIRARA_INFO, /**> Information debug output */
GIRARA_WARNING, /**> Warning level */
GIRARA_ERROR /**> Error */
} girara_log_level_t;
/** /**
* Prints a debug message. The arguments are passed to @ref girara_log as * Prints a debug message. The arguments are passed to @ref girara_log as
* last argument. * last argument.
......
...@@ -52,17 +52,6 @@ enum ...@@ -52,17 +52,6 @@ enum
GIRARA_GOTO_END /**< Go to end of the line */ GIRARA_GOTO_END /**< Go to end of the line */
}; };
/**
* Log levels
*/
typedef enum girara_log_level_e
{
GIRARA_DEBUG, /**> Debug messages */
GIRARA_INFO, /**> Information debug output */
GIRARA_WARNING, /**> Warning level */
GIRARA_ERROR /**> Error */
} girara_log_level_t;
/** /**
* Mode identifier * Mode identifier
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment