Flow123d  JS_before_hm-1804-gf2ad740aa
Functions
logger.cc File Reference
#include "system/logger.hh"
#include "system/logger_options.hh"
#include "system/global_defs.h"
#include "system/file_path.hh"
#include <iomanip>

Go to the source code of this file.

Functions

std::string cmn_prefix (std::string a, std::string b)
 Helper function, use for shorten the code point path. More...
 
Loggeroperator<< (Logger &log, StreamMask mask)
 
Loggeroperator<< (Logger &log, std::ostream &(*pf)(std::ostream &))
 

Detailed Description

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file logger.cc.

Function Documentation

◆ cmn_prefix()

std::string cmn_prefix ( std::string  a,
std::string  b 
)

Helper function, use for shorten the code point path.

Definition at line 28 of file logger.cc.

Here is the caller graph for this function:

◆ operator<<() [1/2]

Logger& operator<< ( Logger log,
std::ostream &(*)(std::ostream &)  pf 
)

Definition at line 291 of file logger.cc.

◆ operator<<() [2/2]

Logger& operator<< ( Logger log,
StreamMask  mask 
)

implementation of operators

Definition at line 281 of file logger.cc.