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.",
166 "%s takes a log channel and one or more log types.\n",
192 // Store into a std::string since we're about to shift the channel off.
193 const std::string channel = std::string(args[0].ref());
194 args.Shift(); // Shift off the channel
204 channel, args.GetArgumentArrayRef(), log_file, m_options.log_options,
223 "Disable one or more log channel categories.",
260 "%s takes a log channel and one or more log types.\n",
265 const std::string channel = std::string(args[0].ref());
266 args.Shift(); // Shift off the channel
267 if (channel == "all") {
273 if (Log::DisableLogChannel(channel, args.GetArgumentArrayRef(),
297 for (llvm::StringRef channel : Log::ListChannels())
298 request.TryCompleteCurrentArg(channel);
375 "%s takes a log channel and one or more log types.\n",
400 const std::string channel = std::string(args[0].ref());
403 if (Log::DumpLogChannel(channel, *stream_up, error_stream)) {