Lines Matching defs:channel
37 for (llvm::StringRef channel : Log::ListChannels())
38 request.TryCompleteCurrentArg(channel);
39 } else if (arg_index >= 1) { // We got: log enable/disable channel x[tab]
40 llvm::StringRef channel = request.GetParsedLine().GetArgumentAtIndex(0);
42 channel, [&request](llvm::StringRef name, llvm::StringRef desc) {
53 "Enable logging for a single log channel.",
168 "%s takes a log channel and one or more log types.\n",
194 // Store into a std::string since we're about to shift the channel off.
195 const std::string channel = std::string(args[0].ref());
196 args.Shift(); // Shift off the channel
206 channel, args.GetArgumentArrayRef(), log_file, m_options.log_options,
225 "Disable one or more log channel categories.",
262 "%s takes a log channel and one or more log types.\n",
267 const std::string channel = std::string(args[0].ref());
268 args.Shift(); // Shift off the channel
269 if (channel == "all") {
275 if (Log::DisableLogChannel(channel, args.GetArgumentArrayRef(),
299 for (llvm::StringRef channel : Log::ListChannels())
300 request.TryCompleteCurrentArg(channel);
377 "%s takes a log channel and one or more log types.\n",
402 const std::string channel = std::string(args[0].ref());
405 if (Log::DumpLogChannel(channel, *stream_up, error_stream)) {