Neokernel API

FileLoggerAgent.initProps Method

Initializes this agent's Props by providing default values for each of the following Props entries:

log_file_prefix
The prefix to use when naming log files. Default value is log_
logs_per_file
The maximum number of log entries per file. When logs_per_file has been reached, a new log file is created to hold additional data. Default value is 10000
log_dir
The path to a directory where log files will be created. Default value is System.Windows.Forms.Application.ExecutablePath + /logs
service_name
The name that this agent will register with in the ServiceManager. Default value is /logger_agent

public override void initProps();

Implements

AgentInterface.initProps

See Also

FileLoggerAgent Class | com.neokernel.io Namespace