public static void log ( String message , boolean takeScreenshot , boolean saveSrc ) { SeLionReporter reporter = new SeLionReporter ( ) ; BaseLog currentLog = new BaseLog ( ) ; currentLog . setMsg ( message ) ; currentLog . setLocation ( Gatherer . saveGetLocation ( Grid . driver ( ) ) ) ; reporter . setCurrentLog ( currentLog ) ; reporter . generateLog ( takeScreenshot , saveSrc ) ; logger . exiting ( ) ; }
Generates log entry with message provided