CQG Algorithmic Orders
StringToLogLevel Method
See Also  Send Feedback
CQGAlgorithmicOrderBuilder > CQGAlgorithmicOrderBuilder Namespace > Logger Class : StringToLogLevel Method



strLogLevel
String which should be converted

Glossary Item Box

Converts string to appropriate log level.

Syntax

Visual Basic (Declaration) 
Public Shared Function StringToLogLevel( _
   ByVal strLogLevel As String _
) As modConstantsAndEnums.eLogLevel
Visual Basic (Usage)Copy Code
Dim strLogLevel As String
Dim value As modConstantsAndEnums.eLogLevel
 
value = Logger.StringToLogLevel(strLogLevel)
C# 
public static modConstantsAndEnums.eLogLevel StringToLogLevel( 
   string strLogLevel
)
C++/CLI 
public:
static modConstantsAndEnums.eLogLevel StringToLogLevel( 
   String^ strLogLevel
) 

Parameters

strLogLevel
String which should be converted

Return Value

The log level of given string

See Also

Reference

Logger Class
Logger Members

Copyright © 2012 CQG Inc. All Rights Reserved.