Neokernel API

IReporterInterface Interface

This is an interface for reporting agent progress and errors.

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

public interface IReporterInterface

Types that implement IReporterInterface

Type Description
EmailReporter This is a Reporter Agent that extends FileLoggerAgent in order to log AK agent output to sequentially named text files. Upon loading, this agent replaces the default Reporter.
ConsoleReporter 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 the Console in nice color-coded output. Upon loading, this agent replaces the default Reporter so kernel output is logged in color instead of the standard console font color.
FileReporter 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.
MonoReporter This is the reporter to use when running under Mono, a .NET CLR available from http://www.mono-project.com. It is also the default reporter used by the NK. If you are using windows, the ConsoleReporter provides color-coded output in the console.
ServiceReporter This agent implements IReporterInterface so it can capture output generated by the kernel and store it in the Windows Event Log. This class is used as the default reporter when the Neokernel is running as a service.
SystemReporter

In this implementation of IReporterInterface, each method call is output using System.out.println or System.err.println exactly once.

Calls to println and debug are output to System.out.

Calls to warning and error are output to System.err.

Requirements

Namespace: com.neokernel.util

Assembly: Neokernel (in Neokernel.exe)

See Also

IReporterInterface Members | com.neokernel.util Namespace