bux API Reference 1.9.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
LogStream.cpp File Reference
#include "LogStream.h"
#include <ostream>
#include <cinttypes>
#include <cstring>
#include <unistd.h>
#include <sys/syscall.h>
Include dependency graph for LogStream.cpp:

Go to the source code of this file.

Namespaces

namespace  bux
 THE common namespace of bux library.
 

Macros

#define STD_FORMAT_CHRONO_
 
#define _GNU_SOURCE
 
#define TID_   syscall(SYS_gettid)
 

Functions

std::ostream & bux::timestamp (std::ostream &out, const std::chrono::time_zone *tz)
 
std::ostream & bux::logTrace (std::ostream &out, const std::chrono::time_zone *tz)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 14 of file LogStream.cpp.

◆ STD_FORMAT_CHRONO_

#define STD_FORMAT_CHRONO_

Definition at line 7 of file LogStream.cpp.

◆ TID_

#define TID_   syscall(SYS_gettid)

Definition at line 19 of file LogStream.cpp.

Referenced by bux::logTrace().