Record debug and logging. More...
#include "P_RecUtils.h"
#include "P_RecCore.h"
Go to the source code of this file.
Functions | |
int | RecSetDiags (Diags *_diags) |
void | RecLog (DiagsLevel dl, const char *format_string,...) |
void | RecDebug (DiagsLevel dl, const char *format_string,...) |
void | RecDebugOff () |
Variables | |
static Diags * | g_diags = NULL |
Record debug and logging.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file RecDebug.cc.
void RecDebug | ( | DiagsLevel | dl, | |
const char * | format_string, | |||
... | ||||
) |
Definition at line 62 of file RecDebug.cc.
References Diags::log_va().
Referenced by debug_record_callback(), RecConfigFileParse(), RecDumpRecordsHt(), RecReadConfigFile(), RecReadStatsFile(), RecRegisterStat(), RecResetStatRecord(), RecSignalManager(), RecSyncStatsFile(), recv_message_cb(), RecWriteConfigFile(), send_pull_message(), send_push_message(), send_register_message(), send_reset_message(), send_set_message(), and sync_thr().
void RecDebugOff | ( | ) |
Definition at line 78 of file RecDebug.cc.
Referenced by main().
void RecLog | ( | DiagsLevel | dl, | |
const char * | format_string, | |||
... | ||||
) |
Definition at line 46 of file RecDebug.cc.
References Diags::log_va().
Referenced by RecConfigFileParse(), RecCoreInit(), RecGetRecordPrefix_Xmalloc(), RecPipeConnect(), RecPipeCreate(), RecReadStatsFile(), and RecWriteConfigFile().
int RecSetDiags | ( | Diags * | _diags | ) |
Definition at line 33 of file RecDebug.cc.
Referenced by main(), and RecCoreInit().
Definition at line 27 of file RecDebug.cc.