public class ASIntegrationLoggingUtil extends Object
| Constructor and Description |
|---|
ASIntegrationLoggingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getLogsFromLogfile(File file)
Returns a string array which contains file content.
|
static boolean |
searchLogRecord(String searchQuery,
String[] logRecords)
Search for a log record in a log records array.
|
public static String[] getLogsFromLogfile(File file) throws IOException
file - log fileIOExceptionpublic static boolean searchLogRecord(String searchQuery, String[] logRecords)
searchQuery - part of log record or entire log record that we want to searchlogRecords - String array of log records where we want to perform the search operationCopyright © 2015 WSO2 Inc. All rights reserved.