#include "tokenizer.h"
#include "strbuf.h"
#include "namereg.h"
-#include "clitext.h"
+#include "cli-text.h"
#include "cli-command.h"
#include "xmalloc.h"
+#include "log.h"
struct pa_cli {
struct pa_core *core;
assert(client && client->userdata);
c = client->userdata;
- fprintf(stderr, "CLI client killed.\n");
+ pa_log(__FILE__": CLI client killed.\n");
if (c->defer_kill)
c->kill_requested = 1;
else {
assert(line && c);
if (!s) {
- fprintf(stderr, "CLI got EOF from user.\n");
+ pa_log(__FILE__": CLI got EOF from user.\n");
if (c->eof_callback)
c->eof_callback(c, c->userdata);