DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / Log Method
Text as string, which is to be added to the log file.






In This Topic
    Log Method
    In This Topic
    Add text to the log file.
    Syntax
    'Declaration
     
    
    Public Shared Sub Log( _
       ByVal Text As System.String _
    ) 
    'Usage
     
    
    Dim Text As System.String
     
    DicomGlobal.Log(Text)
    public static void Log( 
       System.string Text
    )
    public procedure Log( 
        Text: System.String
    ); static; 
    public static function Log( 
       Text : System.String
    );
    public: static void Log( 
       System.string* Text
    ) 
    public:
    static void Log( 
       System.String^ Text
    ) 

    Parameters

    Text
    Text as string, which is to be added to the log file.
    Remarks
    Adds user specified text to the log file. Only works when the log file is enabled. For information about how to enable logging, see LogToFile.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also