Difference between revisions of "ApCoCoA-1:GetApCoCoAServerLogLevel"

From ApCoCoAWiki
(Initial version.)
 
(Update due to reorganization of log levels.)
Line 8: Line 8:
  
 
<description>
 
<description>
This function retrieves the log level that is currently used by the ApCoCoAServer for displaying log output. All log messages whose log level is greater than or equal to the log level will be displayed by the ApCoCoAServer. The log levels are (in order of ascending priority) 0 = <tt>ERROR</tt> (default), 1 = <tt>WARN</tt>, 2 = <tt>INFO</tt>, 3 = <tt>VERBOSE</tt>, and 4 = <tt>DEBUG</tt>.
+
This function retrieves the log level that is currently used by the ApCoCoAServer for displaying log output. All log messages whose log level is greater than or equal to the log level will be displayed by the ApCoCoAServer. The log levels are (in order of ascending priority) 0 = <tt>FATAL</tt> (default), 1 = <tt>ERROR</tt>, 2 = <tt>WARNING</tt>, 3 = <tt>INFO</tt>, and 4 = <tt>DEBUG</tt>.
  
 
<itemize>
 
<itemize>

Revision as of 15:37, 9 February 2011

GetApCoCoAServerLogLevel

Retrieve current log level used by ApCoCoAServer.

Syntax

GetApCoCoAServerLogLevel():INT

Description

This function retrieves the log level that is currently used by the ApCoCoAServer for displaying log output. All log messages whose log level is greater than or equal to the log level will be displayed by the ApCoCoAServer. The log levels are (in order of ascending priority) 0 = FATAL (default), 1 = ERROR, 2 = WARNING, 3 = INFO, and 4 = DEBUG.

  • @return The log level currently used by the ApCoCoAServer.

Example

GetApCoCoAServerLogLevel();

1
-------------------------------
-- Done.
-------------------------------



See also

SetApCoCoAServerLogLevel