Add logging infrastructure

Also added some debug/error messages to existing code. For now debugging is
always on, this will be made optional later.
This commit is contained in:
Daniel Drake
2007-10-10 15:51:50 +01:00
committed by Daniel Drake
parent 016ff33533
commit ec91736ac4
3 changed files with 74 additions and 3 deletions

View File

@@ -27,6 +27,7 @@
struct fp_print_data *fpi_print_data_new(struct fp_driver *drv, size_t length)
{
struct fp_print_data *data = g_malloc(sizeof(*data) + length);
fp_dbg("length=%z", length);
data->driver_name = drv->name;
data->length = length;
}