timber_rust/
lib.rs

1// Copyright 2026 Dante Domenech Martinez dante19031999@gmail.com
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.
14
15#![doc = include_str!("../README.md")]
16mod config;
17mod def;
18pub mod factory;
19pub mod logger;
20mod manager;
21mod message;
22pub mod service;
23
24pub use factory::LoggerFactory;
25
26pub use config::*;
27pub use def::*;
28pub use manager::*;
29pub use message::*;
30pub use service::Fallback;
31pub use service::Service;
32
33pub use config::Config;
34pub use config::Entry as EntryConfig;
35
36#[cfg(feature = "aws")]
37#[cfg_attr(docsrs, doc(cfg(feature = "aws")))]
38pub use logger::CloudWatch as CloudWatchLogger;
39pub use logger::Direct as DirectLogger;
40pub use logger::Level as LogLevel;
41pub use logger::Logger;
42pub use logger::LoggerImpl;
43#[cfg(feature = "loki")]
44#[cfg_attr(docsrs, doc(cfg(feature = "loki")))]
45pub use logger::Loki as LokiLogger;
46pub use logger::Queued as QueuedLogger;
47pub use logger::Silent as SilentLogger;
48pub use logger::Status as LoggerStatus;
49
50#[cfg(test)]
51mod tests {}