All Classes Files Functions Variables Pages
webadmin::Logger Interface Reference

Public Member Functions

void logWrite (in kerio::web::LogType type, in string message)
 
void getStatusFunctionList (out StatusFunctionList functions)
 
void callStatusFunction (in kerio::web::KId id)
 
void getHttpLogType (out HttpLogType logType)
 
void setHttpLogType (in HttpLogType logType)
 
void getLogExpression (out string expression)
 
void setLogExpression (in string expression)
 
void getPacketLogFormat (out string format)
 
void setPacketLogFormat (in string format)
 

Member Function Documentation

void webadmin::Logger::callStatusFunction ( in kerio::web::KId  id)

Calls function from StatusFunctionList referenced by id

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::getHttpLogType ( out HttpLogType  logType)

Returns actual Http log type

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::getLogExpression ( out string  expression)

Returns expression for dialog from debug log context menu 'IP Traffic...'

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::getPacketLogFormat ( out string  format)

Returns format for dialog from debug log context menu 'Packet Log format...'

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::getStatusFunctionList ( out StatusFunctionList  functions)

Returns list of Functions displayed in debug log context menu 'Show status'

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::logWrite ( in kerio::web::LogType  type,
in string  message 
)

Write a message to given log

Parameters
type- type of target log file,
See also
Logs.idl shared in lib - supported types: config, debug, dial, error, security, warning
Parameters
message- text to be written into log file
Exceptions
kerio::web::ApiException
8000 Internal error. - "Internal error."
void webadmin::Logger::setHttpLogType ( in HttpLogType  logType)

Stores Http log type

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::setLogExpression ( in string  expression)

Stores expression from debug log context menu dialog 'IP Traffic...'

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."
void webadmin::Logger::setPacketLogFormat ( in string  format)

Stores format from debug log context menu dialog 'Packet Log format...'

Exceptions
kerio::web::ApiException
-32001 Session expired. - "The user is not logged in."
1004 Access denied. - "Insufficient rights to perform the requested operation."

The documentation for this interface was generated from the following file: