remote prints
This commit is contained in:
parent
4e42769366
commit
98675754d8
2 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ namespace fc {
|
||||||
|
|
||||||
template<typename T, typename C, T(C::*p)>
|
template<typename T, typename C, T(C::*p)>
|
||||||
void operator()( const char* name )const {
|
void operator()( const char* name )const {
|
||||||
slog( "packing %s", name );
|
//slog( "packing %s", name );
|
||||||
raw::pack( s, c.*p );
|
raw::pack( s, c.*p );
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ namespace fc {
|
||||||
if(isatty(fileno(stderr)))
|
if(isatty(fileno(stderr)))
|
||||||
std::cerr<<"\r"<<color;
|
std::cerr<<"\r"<<color;
|
||||||
|
|
||||||
fprintf( stderr, "%p %-15s %-15s %-5zd %-15s ", thread_ptr(), thread_name(), short_name(file_name), line_num, method_name );
|
fprintf( stderr, "%-15s %-15s %-5zd %-15s ", thread_name(), short_name(file_name), line_num, method_name );
|
||||||
//std::cerr<<thread_ptr()<< thread_name()<< short_name(file_name)<< line_num<< method_name ;
|
//std::cerr<<thread_ptr()<< thread_name()<< short_name(file_name)<< line_num<< method_name ;
|
||||||
va_list args;
|
va_list args;
|
||||||
va_start(args,format);
|
va_start(args,format);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue