GfLogFile

GfLogFile — GfLogFile Object API

Synopsis




            GfLogFile;
GfLog*      gf_log_file_new                 (const gchar *filename);
const gchar* gf_log_file_get_filename       (const GfLogFile *log);

Object Hierarchy


  GObject
   +----GfObject
         +----GfLog
               +----GfLogFile

Properties


  "filename"             gchararray            : Read / Write / Construct Only

Description

GfLogFile is a GfLog that stores the log in a file.

Details

GfLogFile

typedef struct _GfLogFile GfLogFile;

GfLogFile is an opaque structure that should not be used directly.


gf_log_file_new ()

GfLog*      gf_log_file_new                 (const gchar *filename);

Creates a new GfLogFile instance.

filename : The name of the file to log to.
Returns : The new GfLogFile instance.

gf_log_file_get_filename ()

const gchar* gf_log_file_get_filename       (const GfLogFile *log);

Gets the name of the file used for storing the log.

log : The GfLogFile instance.
Returns : The name of the file used for storing the log.

Properties

The "filename" property

  "filename"             gchararray            : Read / Write / Construct Only

The filename for the log.

Default value: NULL