VRay SDK for C#
Loading...
Searching...
No Matches
VRay.MessageEventArgs Class Reference

A class for holding message event data such as the text of the message and the log level type (info, warning or error) More...

Inherits VRay.VRayEventArgs.

Public Member Functions

 MessageEventArgs (string message, LogLevelType logLevel, double instant)
 Creates an instance of the message event args for a V-Ray message. More...
 
- Public Member Functions inherited from VRay.VRayEventArgs
 VRayEventArgs (double instant)
 Create a base event arg instance with timing info
 

Static Public Member Functions

static void SetMinLogLevel (LogLevelType minLevel)
 Set a minimum level of message importance for event callbacks registered AFTER calling this. This defaults to 'Info' level. More...
 

Properties

LogLevelType LogLevel [get]
 Gets the log level of the message (info, warning or error).
 
string Message [get]
 Gets the text of the message.
 
- Properties inherited from VRay.VRayEventArgs
double Instant [get, set]
 Actual event time. Time is in seconds since V-Ray was initialized.
 

Detailed Description

A class for holding message event data such as the text of the message and the log level type (info, warning or error)

Constructor & Destructor Documentation

◆ MessageEventArgs()

VRay.MessageEventArgs.MessageEventArgs ( string  message,
LogLevelType  logLevel,
double  instant 
)

Creates an instance of the message event args for a V-Ray message.

Parameters
messageThe text of the message.
logLevelThe log level of the message.
instantThe actual time of ocurrence - seconds since V-Ray initialization

Member Function Documentation

◆ SetMinLogLevel()

static void VRay.MessageEventArgs.SetMinLogLevel ( LogLevelType  minLevel)
static

Set a minimum level of message importance for event callbacks registered AFTER calling this. This defaults to 'Info' level.

Parameters
minLevelMessages less important than this level will not emit an event

The documentation for this class was generated from the following file: