| 759 | } |
| 760 | |
| 761 | bool |
| 762 | LogFile::is_open() |
| 763 | { |
| 764 | if (m_file_format == LOG_FILE_PIPE) { |
| 765 | return m_fd >= 0; |
| 766 | } else { |
| 767 | return m_log && m_log->is_open(); |
| 768 | } |
| 769 | } |
| 770 | |
| 771 | /* |
| 772 | * Returns the fd of the entity (pipe or regular file ) that this object is |
no outgoing calls