39 references to ChannelMessageKind
Microsoft.ML.AutoML (5)
Experiment\Experiment.cs (5)
98case ChannelMessageKind.Trace: 101case ChannelMessageKind.Info: 104case ChannelMessageKind.Warning: 107case ChannelMessageKind.Error: 111throw new NotImplementedException($"{nameof(ChannelMessageKind)}.{e.Kind} is not yet implemented.");
Microsoft.ML.AutoML.Samples (2)
AutoMLExperiment.cs (1)
37if (e.Source == nameof(AutoMLExperiment) && e.Kind > Runtime.ChannelMessageKind.Trace)
Sweepable\SweepableLightGBMBinaryExperiment.cs (1)
63if (e.Source == nameof(AutoMLExperiment) && e.Kind > Runtime.ChannelMessageKind.Trace)
Microsoft.ML.Core (17)
Data\IHostEnvironment.cs (3)
212public readonly ChannelMessageKind Kind; 223internal ChannelMessage(ChannelMessageKind kind, MessageSensitivity sensitivity, string message) 233internal ChannelMessage(ChannelMessageKind kind, MessageSensitivity sensitivity, string fmt, params object[] args)
Environment\ConsoleEnvironment.cs (6)
62case ChannelMessageKind.Trace: 67case ChannelMessageKind.Info: 69case ChannelMessageKind.Warning: 74Contracts.Assert(msg.Kind == ChannelMessageKind.Error); 86if (toColor && msg.Kind != ChannelMessageKind.Info) 96if (msg.Kind == ChannelMessageKind.Warning)
Environment\HostEnvironmentBase.cs (8)
226Dispatch(this, new ChannelMessage(ChannelMessageKind.Trace, sensitivity, msg)); 231Dispatch(this, new ChannelMessage(ChannelMessageKind.Trace, sensitivity, fmt, args)); 236Dispatch(this, new ChannelMessage(ChannelMessageKind.Error, sensitivity, msg)); 241Dispatch(this, new ChannelMessage(ChannelMessageKind.Error, sensitivity, fmt, args)); 246Dispatch(this, new ChannelMessage(ChannelMessageKind.Warning, sensitivity, msg)); 251Dispatch(this, new ChannelMessage(ChannelMessageKind.Warning, sensitivity, fmt, args)); 256Dispatch(this, new ChannelMessage(ChannelMessageKind.Info, sensitivity, msg)); 261Dispatch(this, new ChannelMessage(ChannelMessageKind.Info, sensitivity, fmt, args));
Microsoft.ML.Data (6)
LoggingEventArgs.cs (3)
28/// <param name="kind"> The type of message <see cref="ChannelMessageKind"/> </param> 30public LoggingEventArgs(string message, ChannelMessageKind kind, string source) 46public ChannelMessageKind Kind { get; }
Utilities\LocalEnvironment.cs (3)
25Dispatch(this, new ChannelMessage(ChannelMessageKind.Trace, MessageSensitivity.None, "Channel started")); 29=> Dispatch(this, new ChannelMessage(ChannelMessageKind.Trace, MessageSensitivity.None, "Channel finished. Elapsed {0:c}.", Watch.Elapsed)); 38Dispatch(this, new ChannelMessage(ChannelMessageKind.Trace, MessageSensitivity.None, "Channel disposed"));
Microsoft.ML.IntegrationTests (3)
IntegrationTestBaseClass.cs (3)
28public ChannelMessageKind MessageKindToLog; 57MessageKindToLog = ChannelMessageKind.Error; 61MessageKindToLog = attrib.GetNamedArgument<ChannelMessageKind>("MessageKind");
Microsoft.ML.TestFramework (3)
BaseTestClass.cs (3)
26public ChannelMessageKind MessageKindToLog; 67MessageKindToLog = ChannelMessageKind.Error; 71MessageKindToLog = attrib.GetNamedArgument<ChannelMessageKind>("MessageKind");
Microsoft.ML.TestFrameworkCommon (2)
Attributes\LoggingLevelAttribute.cs (2)
16public ChannelMessageKind MessageKind { get; } 17public LogMessageKind(ChannelMessageKind messageKind)
Microsoft.ML.TorchSharp.Tests (1)
ObjectDetectionTests.cs (1)
75if (e.Source.StartsWith("ObjectDetectionTrainer") && e.Kind == ChannelMessageKind.Info && e.Message.Contains("Loss:"))