Classes | Typedefs | Functions
contrib/mul/mbl/mbl_log.cxx File Reference

Flexible Status and Error Logging. These classes are patterned after the log4j logging library, although without all of the sophistication. More...

#include "mbl_log.h"
#include <vcl_cstddef.h>
#include <vcl_fstream.h>
#include <vcl_memory.h>
#include <vcl_algorithm.h>
#include <vcl_cassert.h>
#include <vcl_iostream.h>
#include <vcl_sstream.h>
#include <vcl_utility.h>
#include <vul/vul_string.h>
#include <mbl/mbl_read_props.h>
#include <mbl/mbl_exception.h>

Go to the source code of this file.

Classes

struct  mbl_log_prefix_comp

Typedefs

typedef vcl_map< vcl_string,
vcl_ostream * > 
stream_names_t

Functions

vcl_ostream & operator<< (vcl_ostream &os, mbl_logger::levels level)
vcl_ostream & operator<< (vcl_ostream &os, const mbl_log_categories::cat_spec &spec)
mbl_log_categories::cat_spec parse_cat_spec (const vcl_string &str, const stream_names_t &stream_names)

Detailed Description

Flexible Status and Error Logging. These classes are patterned after the log4j logging library, although without all of the sophistication.

Author:
Ian Scott
Date:
16-Jan-2005

Definition in file mbl_log.cxx.


Typedef Documentation

typedef vcl_map<vcl_string, vcl_ostream*> stream_names_t

Definition at line 506 of file mbl_log.cxx.


Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
mbl_logger::levels  level 
)

Definition at line 25 of file mbl_log.cxx.

vcl_ostream& operator<< ( vcl_ostream &  os,
const mbl_log_categories::cat_spec spec 
)

Definition at line 67 of file mbl_log.cxx.

mbl_log_categories::cat_spec parse_cat_spec ( const vcl_string &  str,
const stream_names_t stream_names 
) [inline]

Definition at line 509 of file mbl_log.cxx.