Прочитај на енглеском

Делите путем


LoggingEventArgs Constructors

Definition

Overloads

LoggingEventArgs(String)

Initializes a new instance of the LoggingEventArgs class.

LoggingEventArgs(String, ChannelMessageKind, String)

Initializes a new instane of LoggingEventArgs class that includes the kind and source of the message

LoggingEventArgs(String)

Source:
LoggingEventArgs.cs
Source:
LoggingEventArgs.cs
Source:
LoggingEventArgs.cs

Initializes a new instance of the LoggingEventArgs class.

C#
public LoggingEventArgs(string message);

Parameters

message
String

The message being logged.

Applies to

ML.NET Preview и друге верзије
Производ Верзије
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview

LoggingEventArgs(String, ChannelMessageKind, String)

Source:
LoggingEventArgs.cs
Source:
LoggingEventArgs.cs
Source:
LoggingEventArgs.cs

Initializes a new instane of LoggingEventArgs class that includes the kind and source of the message

C#
public LoggingEventArgs(string message, Microsoft.ML.Runtime.ChannelMessageKind kind, string source);

Parameters

message
String

The message being logged

kind
ChannelMessageKind

The type of message ChannelMessageKind

source
String

The source of the message

Applies to

ML.NET Preview и друге верзије
Производ Верзије
ML.NET 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview