aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'include/pugl')
-rw-r--r--include/pugl/pugl.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 14985b9..7c74b75 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -651,25 +651,6 @@ typedef enum {
/// Bitwise OR of #PuglWorldFlag values
typedef uint32_t PuglWorldFlags;
-/// A log message level, compatible with syslog
-typedef enum {
- PUGL_LOG_LEVEL_ERR = 3, ///< Error
- PUGL_LOG_LEVEL_WARNING = 4, ///< Warning
- PUGL_LOG_LEVEL_INFO = 6, ///< Informational message
- PUGL_LOG_LEVEL_DEBUG = 7 ///< Debug message
-} PuglLogLevel;
-
-/**
- A function called to report log messages.
-
- @param world The world that produced this log message.
- @param level Log level.
- @param msg Message string.
-*/
-typedef void (*PuglLogFunc)(PuglWorld* world,
- PuglLogLevel level,
- const char* msg);
-
/**
Create a new world.
@@ -711,23 +692,6 @@ PUGL_API void*
puglGetNativeWorld(PuglWorld* world);
/**
- Set the function to call to log a message.
-
- This will be called to report any log messages generated internally by Pugl
- which are enabled according to the log level.
-*/
-PUGL_API PuglStatus
-puglSetLogFunc(PuglWorld* world, PuglLogFunc logFunc);
-
-/**
- Set the level of log messages to emit.
-
- Any log messages with a level less than or equal to `level` will be emitted.
-*/
-PUGL_API PuglStatus
-puglSetLogLevel(PuglWorld* world, PuglLogLevel level);
-
-/**
Set the class name of the application.
This is a stable identifier for the application, used as the window