1pub mod github_actions;
2pub mod nothing;
3pub mod syntax_highlight;
4
5pub use nothing::Nothing;
6pub use syntax_highlight::SyntaxHighLight;
7
8#[must_use]
9pub struct Logger<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> {
10 pub method: &'a Method,
11 pub prompt: &'a Prompt,
12 pub program: &'a Program,
13 pub arguments: &'a Arguments,
14}
15
16impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized>
17 Logger<'a, Method, Prompt, Program, Arguments>
18{
19 pub fn new(
20 method: &'a Method,
21 prompt: &'a Prompt,
22 program: &'a Program,
23 arguments: &'a Arguments,
24 ) -> Self {
25 Logger {
26 method,
27 prompt,
28 program,
29 arguments,
30 }
31 }
32}
33
34pub trait Log {
35 fn log(&self);
36}