Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 139352 | Differences between
and this patch

Collapse All | Expand All

(-)trunk/icecream/services/logging.h (-4 / +4 lines)
Lines 64-85 Link Here
64
}
64
}
65
65
66
static inline std::ostream& log_info() {
66
static inline std::ostream& log_info() {
67
    assert( logfile_info );
67
    if(!logfile_info) return std::cerr;
68
    return *logfile_info;
68
    return *logfile_info;
69
}
69
}
70
70
71
static inline std::ostream& log_warning() {
71
static inline std::ostream& log_warning() {
72
    assert( logfile_warning );
72
    if(!logfile_warning) return std::cerr;
73
    return output_date( *logfile_warning );
73
    return output_date( *logfile_warning );
74
}
74
}
75
75
76
static inline std::ostream& log_error() {
76
static inline std::ostream& log_error() {
77
    assert( logfile_error );
77
    if(!logfile_error) return std::cerr;
78
    return output_date( *logfile_error );
78
    return output_date( *logfile_error );
79
}
79
}
80
80
81
static inline std::ostream& trace() {
81
static inline std::ostream& trace() {
82
    assert( logfile_trace );
82
    if(!logfile_trace) return std::cerr;
83
    return *logfile_trace;
83
    return *logfile_trace;
84
}
84
}
85
85

Return to bug 139352