libvmtools/fileLogger.c File Reference

#include "vmtoolsInt.h"
#include <stdio.h>
#include <string.h>
#include <glib/gstdio.h>
#include <unistd.h>
#include "vm_assert.h"
Include dependency graph for fileLogger.c:

Functions

LogHandlerDataVMFileLoggerConfig (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.

Generated on 9 Apr 2010 for open-vm-tools 2010.03.20 by  doxygen 1.6.1