nuklei::Log Class Reference

Public Types

enum  Type {
  NEVER = 0, FATAL, ERROR, WARN,
  INFO, LOG, DEBUG, UNKNOWN
}
 

Static Public Member Functions

static std::ostream & stream ()
 
static void setOutput (const std::string &filename)
 
static void setOutput (std::ostream *stream)
 
static std::string breakLines (const std::string &s)
 
static void log (const char *file, int line, unsigned level, const std::string &s)
 

Static Public Attributes

static const Type defaultType = LOG
 
static const std::string TypeNames [] = { "NEVER", "FATAL", "ERROR", "WARN", "INFO", "LOG", "DEBUG" }
 
static boost::mutex mutex_
 

Detailed Description

Definition at line 19 of file Log.h.


The documentation for this class was generated from the following files:
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:10.