logger.cpp

来自「j2me is based on j2mepolish, client & se」· C++ 代码 · 共 30 行

CPP
30
字号

//         Copyright E骾n O'Callaghan 2006 - 2007.
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
//          http://www.boost.org/LICENSE_1_0.txt)

//#include "stdAfx.hpp"

#include "logger.hpp"
#include "string_conv.hpp"

namespace aux 
{

#ifdef _UNICODE
Logger<std::wstring, std::wostringstream>& wlog()
{
	static Logger<std::wstring, std::wostringstream> l;
	return l;
}
#endif

Logger<std::string, std::ostringstream>& log()
{
	static Logger<std::string, std::ostringstream> l;
	return l;
}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?