pub trait LoggingParser<'a>: ParserRunner<'a> {
    // Required methods
    fn log(
        self,
        name: &'a str,
        log_level: LogLevel
    ) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Debug,
             Self::Output: Debug + 'a;
    fn debug(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Debug,
             Self::Output: Debug + 'a;
    fn info(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Debug,
             Self::Output: Debug + 'a;
    fn warn(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Debug,
             Self::Output: Debug + 'a;
    fn error(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Debug,
             Self::Output: Debug + 'a;
    fn name(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
       where Self::Input: Debug,
             Self::Output: Debug + 'a;
}

Required Methods§

source

fn log( self, name: &'a str, log_level: LogLevel ) -> Self::P<'a, Self::Input, Self::Output>where Self::Input: Debug, Self::Output: Debug + 'a,

source

fn debug(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>where Self::Input: Debug, Self::Output: Debug + 'a,

source

fn info(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>where Self::Input: Debug, Self::Output: Debug + 'a,

source

fn warn(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>where Self::Input: Debug, Self::Output: Debug + 'a,

source

fn error(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>where Self::Input: Debug, Self::Output: Debug + 'a,

source

fn name(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>where Self::Input: Debug, Self::Output: Debug + 'a,

Implementors§

source§

impl<'a, I, A> LoggingParser<'a> for Parser<'a, I, A>