Module sup_error_logger

Make sure we don't miss error information because our logger isn't started yet.

Introduced in: 5 Oct 2005 by Fredrik Thulin <ft@it.su.se>

Behaviours: gen_event.

Authors: Fredrik Thulin (ft@it.su.se).

Description

Make sure we don't miss error information because our logger isn't started yet.

Data Types

state()

state() = #state{}

no description

Function Index

handle_event/2 Handle informational reports from the error_logger.
start/0 Tell error_logger to add this handler.

Function Details

handle_event/2

handle_event(Report::{info_report, SomePid, Event}, State) -> {ok, NewState}

Handle informational reports from the error_logger. We maintain a list of the last five process reports we see from our parent supervisor, to help narrow down where failures occur, if any.

start/0

start() -> ok | Error

Tell error_logger to add this handler.


Generated by EDoc, Oct 17 2007, 16:48:27.