546
547
tSettingItem<bool> *conf;
549
554
eLadderLogWriter(char const *ID, bool enabledByDefault);
551
556
//! append a field to the current message. Spaces are added automatically.
552
570
template<typename T> eLadderLogWriter &operator<<(T const &s) {
558
582
void write(); //!< send to ladderlog and clear message
560
584
bool isEnabled() { return enabled; } //!< check this if you're going to make expensive calculations for ladderlog output
562
586
static void setAll(bool enabled); //!< enable or disable all writers
565
594
tColoredString & operator << (tColoredString &s,const ePlayer &p);