NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Report.AutomationLogger Class Reference

Represents the automation logger to log information for report automation program. More...

Inheritance diagram for NXOpen.Report.AutomationLogger:

Public Types

enum  MessageType { Empty, Information, Debug, Exception }
 Represents the automation logger message type. More...
 

Public Member Functions

unsafe void LogMessage (string message)
 Adds debug message to the logger. More...
 
unsafe void LogMessage (string message, NXOpen.Report.AutomationLogger.MessageType messageType)
 Adds required type of message to the logger. More...
 
unsafe void Clear ()
 Clears the messages in the logger. More...
 
unsafe void SaveLog (string logFileName)
 Saves the messages in the logger to a file. More...
 
unsafe bool IsEmpty ()
 Has messages in the logger. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents the automation logger to log information for report automation program.

No support KF.

Created in NX11.0.0

Member Enumeration Documentation

Represents the automation logger message type.

Enumerator
Empty 

None

Information 

Information message

Debug 

Debug message

Exception 

Exception message

Member Function Documentation

unsafe void NXOpen.Report.AutomationLogger.Clear ( )

Clears the messages in the logger.

Created in NX11.0.0

License requirements: None.

unsafe bool NXOpen.Report.AutomationLogger.IsEmpty ( )

Has messages in the logger.

Created in NX11.0.0

License requirements: None.

Returns
unsafe void NXOpen.Report.AutomationLogger.LogMessage ( string  message)

Adds debug message to the logger.

Created in NX11.0.0

License requirements: None.

Parameters
message
unsafe void NXOpen.Report.AutomationLogger.LogMessage ( string  message,
NXOpen.Report.AutomationLogger.MessageType  messageType 
)

Adds required type of message to the logger.

Created in NX11.0.0

License requirements: None.

Parameters
message
messageType
unsafe void NXOpen.Report.AutomationLogger.SaveLog ( string  logFileName)

Saves the messages in the logger to a file.

Created in NX11.0.0

License requirements: None.

Parameters
logFileName

Property Documentation

Tag NXOpen.Report.AutomationLogger.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.