bux API Reference
1.11.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
include
bux
LogStream.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
XPlatform.h
"
// bux::T_LocalZone
4
#include <iosfwd>
// fwrd decl std::ostream
5
6
namespace
bux
{
7
8
//
9
// Externals
10
//
11
std::ostream &
timestamp
(std::ostream &out,
T_LocalZone
tz =
T_LocalZone
());
12
std::ostream &
logTrace
(std::ostream &out,
T_LocalZone
tz =
T_LocalZone
());
13
14
}
// namespace bux
15
16
#define LOGTITLE(log,tz) (bux::timestamp(log,tz) <<" " __FILE__ "#" <<__LINE__ <<": ")
XPlatform.h
bux
THE common namespace of bux library.
Definition
AtomiX.cpp:3
bux::T_LocalZone
const std::chrono::time_zone * T_LocalZone
Definition
XPlatform.h:18
bux::timestamp
std::ostream & timestamp(std::ostream &out, T_LocalZone tz)
Definition
LogStream.cpp:35
bux::logTrace
std::ostream & logTrace(std::ostream &out, T_LocalZone tz)
Definition
LogStream.cpp:78
Generated by
1.13.2