Subversion Repositories HomeAutomation

Rev

Rev 981 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 981 Rev 983
Line 52... Line 52...
52
    closelog();
52
    closelog();
53
}
53
}
54
 
54
 
55
void SyslogStream::add(string str)
55
void SyslogStream::add(string str)
56
{
56
{
57
    syslog(LOG_ODELAY, str.c_str());
57
    //syslog(LOG_ODELAY, str.c_str());
58
 
58
 
59
    if (str == "\n")
59
    if (str == "\n")
60
    {
60
    {
61
        cout << str;
61
        cout << str;
62
    }
62
    }