Difference between revisions of "ApCoCoA-1:GetApCoCoAServerLogLevel"
From ApCoCoAWiki
(Initial version.) |
m (insert version info) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Version|1}} | ||
<command> | <command> | ||
<title>GetApCoCoAServerLogLevel</title> | <title>GetApCoCoAServerLogLevel</title> | ||
Line 8: | Line 9: | ||
<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> | + | 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>, 1 = <tt>ERROR</tt> (default), 2 = <tt>WARNING</tt>, 3 = <tt>INFO</tt>, and 4 = <tt>DEBUG</tt>. |
<itemize> | <itemize> | ||
Line 29: | Line 30: | ||
<seealso> | <seealso> | ||
− | <see>SetApCoCoAServerLogLevel</see> | + | <see>ApCoCoA-1:SetApCoCoAServerLogLevel|SetApCoCoAServerLogLevel</see> |
</seealso> | </seealso> | ||
Line 36: | Line 37: | ||
<key>log</key> | <key>log</key> | ||
− | [[Category:ApCoCoA Manual|{{PAGENAME}}]] | + | [[Category:ApCoCoA-1 Manual|{{PAGENAME}}]] |
</command> | </command> |
Latest revision as of 10:08, 7 October 2020
This article is about a function from ApCoCoA-1. |
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, 1 = ERROR (default), 2 = WARNING, 3 = INFO, and 4 = DEBUG.
@return The log level currently used by the ApCoCoAServer.
Example
GetApCoCoAServerLogLevel(); 1 ------------------------------- -- Done. -------------------------------
See also