1 /* 2 * This file is part of cyanrip. 3 * 4 * cyanrip is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * cyanrip is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with cyanrip; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 #pragma once 20 21 #include "cyanrip_main.h" 22 23 int cyanrip_log_init(cyanrip_ctx *ctx); 24 void cyanrip_log_end(cyanrip_ctx *ctx); 25 26 void cyanrip_log_start_report(cyanrip_ctx *ctx); 27 void cyanrip_log_finish_report(cyanrip_ctx *ctx); 28 void cyanrip_log_track_end(cyanrip_ctx *ctx, cyanrip_track *t); 29 30 void cyanrip_set_av_log_capture(cyanrip_ctx *ctx, int enable, 31 int indent, int max_av_lvl); 32 33 void cyanrip_log(cyanrip_ctx *ctx, int verbose, const char *format, ...); 34