Skip to main content

rabbitmq_lqt_lib/
lib.rs

1// Copyright (C) 2025-2026 Michael S. Klishin and Contributors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14pub mod constants;
15pub mod datetime;
16pub mod entry_metadata;
17pub mod errors;
18pub mod file_set_metadata;
19pub mod filter;
20pub mod parser;
21pub mod rel_db;
22pub mod severity;
23
24use std::result::Result as StdResult;
25
26pub use constants::{doc_url_from_id, resolution_or_discussion_url_from_id};
27pub use entry_metadata::label_annotators::annotate_labels;
28pub use entry_metadata::labels::LogEntryLabels;
29pub use entry_metadata::subsystem_annotators::annotate_subsystems;
30pub use entry_metadata::subsystems::Subsystem;
31pub use errors::Error;
32pub use filter::EntryFilter;
33pub use parser::{IncrementalParser, ParseResult, ParsedLogEntry, parse_log_file};
34pub use rel_db::{
35    DatabaseConnection, NodeLogEntry, QueryContext, QueryPreset, create_database,
36    create_database_for_bulk_import, finalize_bulk_import, open_database,
37    post_insertion_operations,
38};
39pub use severity::Severity;
40
41pub type Result<T, E = Error> = StdResult<T, E>;