#include "vmtoolsInt.h"
#include <stdio.h>
#include <string.h>
#include <glib/gstdio.h>
#include <unistd.h>
#include "vm_assert.h"
Typedefs |
typedef struct FileLoggerData | FileLoggerData |
Functions |
LogHandlerData * | VMFileLoggerConfig (const gchar *defaultDomain, const gchar *domain, const gchar *name, GKeyFile *cfg) |
Detailed Description
Logger that uses file streams and provides optional log rotation.
Function Documentation
LogHandlerData* VMFileLoggerConfig |
( |
const gchar * |
defaultDomain, |
|
|
const gchar * |
domain, |
|
|
const gchar * |
name, |
|
|
GKeyFile * |
cfg | |
|
) |
| | |
Configures a new file logger based on the given configuration.
- Parameters:
-
[in] | defaultDomain | Unused. |
[in] | domain | Name of log domain. |
[in] | name | Name of log handler. |
[in] | cfg | Configuration data. |
- Returns:
- The file logger data, or NULL on failure.