| 781 | } |
| 782 | |
| 783 | void |
| 784 | LogFormatList::add(LogFormat *format, bool copy) |
| 785 | { |
| 786 | ink_assert(format != nullptr); |
| 787 | |
| 788 | if (copy) { |
| 789 | m_format_list.enqueue(new LogFormat(*format)); |
| 790 | } else { |
| 791 | m_format_list.enqueue(format); |
| 792 | } |
| 793 | } |
| 794 | |
| 795 | LogFormat * |
| 796 | LogFormatList::find_by_name(const char *name) const |
no test coverage detected