Skip to main content

LogPIACEMessage Method

Logs a message to the log file.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static void LogPIACEMessage(
MessageLevel messageType,
string message,
string fullACEContext
)

VB

Public Shared Sub LogPIACEMessage ( 
messageType As MessageLevel,
message As String,
fullACEContext As String
)

Parameters​

  MessageLevel
Type of message to be sent and the relevant ones are: mlErrors, mlWarning, mlChange, and mlUserMessage.
  String
A message string.
  String
Full gSharp ACE Context path. Should be set to the Name property of the base class (MyBase.Name).

Example​

C#

LogPIACEMessage(mlUserMessage, "This is a test", MyBase.Name)

See Also​

Reference​

PIACEBIFunctions Class
GHost.GSharp.PI.ACE Namespace