Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.Logging.LogRecord Class Reference

This data class is passed to all Reactors when a log message is passed into the Logger singleton. More...

Public Member Functions

 LogRecord (LogLevel level, string subSystem, string messageFmt, params object[] args)
 The default constructor for a LogRecord. More...
 
override string ToString ()
 Returns a System.String that represents the current IBM.Watson.DeveloperCloud.Logging.LogRecord. More...
 

Public Attributes

DateTime _timeStamp = DateTime.UtcNow
 The time stamp this log message in UTC time. More...
 
LogLevel _level = LogLevel.STATUS
 The level of this log message. More...
 
string _subSystem
 What sub-system sent this message. More...
 
string _message
 The log message. More...
 

Detailed Description

This data class is passed to all Reactors when a log message is passed into the Logger singleton.

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Logging.LogRecord.LogRecord ( LogLevel  level,
string  subSystem,
string  messageFmt,
params object[]  args 
)
inline

The default constructor for a LogRecord.

Parameters
levelThe log level.
subSystemThe subsystem that orignates this log messages.
messageFmtThe message string with format parameters.
argsThe format parameters.

Member Function Documentation

override string IBM.Watson.DeveloperCloud.Logging.LogRecord.ToString ( )
inline

Returns a System.String that represents the current IBM.Watson.DeveloperCloud.Logging.LogRecord.

Returns
A System.String that represents the current IBM.Watson.DeveloperCloud.Logging.LogRecord.

Member Data Documentation

LogLevel IBM.Watson.DeveloperCloud.Logging.LogRecord._level = LogLevel.STATUS

The level of this log message.

string IBM.Watson.DeveloperCloud.Logging.LogRecord._message

The log message.

string IBM.Watson.DeveloperCloud.Logging.LogRecord._subSystem

What sub-system sent this message.

DateTime IBM.Watson.DeveloperCloud.Logging.LogRecord._timeStamp = DateTime.UtcNow

The time stamp this log message in UTC time.


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