Trait ppapi::ppb::ConsoleInterfaceExperimental [-]  [+] [src]

pub trait ConsoleInterface {
    fn log_to_browser(&self, lvl: PP_LogLevel, value: PP_Var);
    fn log_with_source<ST: ToVar, VT: ToVar>(&self, lvl: PP_LogLevel, source: ST, value: VT);

    fn log<T: ToVar>(&self, lvl: PP_LogLevel, value: T) { ... }
}

Required Methods

fn log_to_browser(&self, lvl: PP_LogLevel, value: PP_Var)

fn log_with_source<ST: ToVar, VT: ToVar>(&self, lvl: PP_LogLevel, source: ST, value: VT)

Provided Methods

fn log<T: ToVar>(&self, lvl: PP_LogLevel, value: T)

Implementors