log.c File Reference
#include "common.h"
#include <string.h>
#include "ged.h"
Include dependency graph for log.c:

Go to the source code of this file.


int ged_log (struct ged *gedp, int argc, const char *argv[])

Detailed Description

The log command.

Definition in file log.c.

Function Documentation

int ged_log ( struct ged gedp,
int  argc,
const char *  argv[] 

Used to control logging.

Definition at line 53 of file log.c.

References bu_log(), bu_log_add_hook(), bu_log_delete_hook(), BU_STR_EQUAL, bu_vls_printf(), bu_vls_trunc(), bu_vls_vlscatzap(), GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, ged::ged_log, GED_OK, ged::ged_result_str, and usage().

Here is the call graph for this function: