Neokernel API

FileLoggerAgent Class

This agent handles logging. Currently, the only method of logging available is to a file. A logging requests are sent to this agent via the log(String) method and the agent will synchronize and log it to the file. Because logging is synchronized, applications that need to be optimized for speed will want to minimize their logging output. FileLoggerAgent supports 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
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 FileLoggerAgent Members .

System.Object
   Props
      Agent
         ServiceAgent
            FileLoggerAgent
               FileReporter

public class FileLoggerAgent : ServiceAgent

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

FileLoggerAgent Members | com.neokernel.io Namespace