Neokernel API

FileReporter Class

This agent implements IReporterInterface so it can capture output generated by the kernel. If you start this agent, all Kernel output will be routed to log files instead of the standard output console. It extends FileLoggerAgent in order to log agent output to sequentially named text files. Upon loading, this agent replaces the default Reporter so kernel output is logged instead of showing up in the console. The supported Props are:

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
service_name
The name that this agent will register with in the ServiceManager. Default value is /logger_agent.

For a list of all members of this type, see FileReporter Members .

System.Object
   Props
      Agent
         ServiceAgent
            FileLoggerAgent
               FileReporter

public class FileReporter : FileLoggerAgent, IReporterInterface

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: com.neokernel.io

Assembly: Neokernel (in Neokernel.exe)

See Also

FileReporter Members | com.neokernel.io Namespace