Searched refs:logger (Results 1 - 25 of 357) sorted by relevance

1234567891011>>

/external/chromium_org/mojo/public/cpp/environment/tests/
H A Dlogger_unittest.cc5 #include "mojo/public/c/environment/logger.h"
14 const MojoLogger* const logger = Environment::GetDefaultLogger(); local
16 logger->LogMessage(MOJO_LOG_LEVEL_VERBOSE-1, "Logged at VERBOSE-1 level");
17 logger->LogMessage(MOJO_LOG_LEVEL_VERBOSE, "Logged at VERBOSE level");
18 logger->LogMessage(MOJO_LOG_LEVEL_INFO, "Logged at INFO level");
19 logger->LogMessage(MOJO_LOG_LEVEL_WARNING, "Logged at WARNING level");
20 logger->LogMessage(MOJO_LOG_LEVEL_ERROR, "Logged at ERROR level");
24 logger->LogMessage(MOJO_LOG_LEVEL_FATAL, "Logged at FATAL level");
30 const MojoLogger* const logger = Environment::GetDefaultLogger(); local
35 logger
[all...]
/external/chromium_org/components/autofill/core/common/
H A Dsave_password_progress_logger_unittest.cc45 TestLogger logger; local
51 logger.LogPasswordForm(SavePasswordProgressLogger::STRING_MESSAGE, form);
53 << logger.accumulated_log() << "]");
54 EXPECT_TRUE(logger.LogsContainSubstring(kTestString));
55 EXPECT_TRUE(logger.LogsContainSubstring("pwdelement"));
56 EXPECT_TRUE(logger.LogsContainSubstring("http://example.org"));
57 EXPECT_FALSE(logger.LogsContainSubstring("verysecret"));
62 TestLogger logger; local
73 logger.LogPasswordForm(SavePasswordProgressLogger::STRING_MESSAGE, form);
75 << logger
86 TestLogger logger; local
99 TestLogger logger; local
110 TestLogger logger; local
119 TestLogger logger; local
128 TestLogger logger; local
138 TestLogger logger; local
148 TestLogger logger; local
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dstack_utils.py35 def log_thread_state(logger, name, thread_id, msg=''):
39 logger("")
40 logger("%s (tid %d) %s" % (name, thread_id, msg))
41 _log_stack(logger, stack)
42 logger("")
54 def _log_stack(logger, stack):
55 """Log a stack trace to the logger callback."""
57 logger('File: "%s", line %d, in %s' % (filename, lineno, name))
59 logger(' %s' % line.strip())
62 def log_traceback(logger, t
[all...]
H A Dlogutils_unittest.py39 logger = logutils.get_logger(__file__)
40 self.assertEqual(logger.name, "webkitpy.common.system.logutils_unittest")
49 logger = logutils.get_logger("/Tools/Scripts/test-webkitpy")
50 self.assertEqual(logger.name, "test-webkitpy")
52 logger = logutils.get_logger("/Tools/Scripts/test-webkitpy.py")
53 self.assertEqual(logger.name, "test-webkitpy")
68 # Use a logger other than the root logger or one prefixed with
70 logger = logging.getLogger("unittest")
72 # Configure the test logger no
[all...]
/external/chromium_org/third_party/npapi/npspy/common/
H A Dnpn_gate.cpp43 #include "logger.h"
45 extern Logger * logger;
50 if(logger)
51 logger->logCall(action_npn_version, (DWORD)plugin_major, (DWORD)plugin_minor, (DWORD)netscape_major, (DWORD)netscape_minor);
58 if(logger)
59 logger->logReturn(action_npn_version);
68 if(logger)
69 logger->logCall(action_npn_get_url_notify, (DWORD)instance, (DWORD)url, (DWORD)target, (DWORD)notifyData);
76 if(logger)
77 logger
[all...]
H A Dnp_entry.cpp43 #include "logger.h"
50 Logger * logger = NULL; variable
56 // create the logger
57 if(!logger)
59 logger = NewLogger();
60 if(logger)
62 logger->platformInit();
63 logger->init();
67 if(logger)
68 logger
[all...]
H A Dnpp_gate.cpp42 #include "logger.h"
45 extern Logger * logger;
53 if(logger)
54 logger->logCall(action_npp_get_java_class);
56 if(logger)
57 logger->logReturn(action_npp_get_java_class);
75 if(logger)
76 logger->logCall(action_npp_new, (DWORD)pluginType, (DWORD)instance, (DWORD)mode, (DWORD)argc, (DWORD)argn, (DWORD)argv, (DWORD)saved);
111 if(logger)
112 logger
[all...]
/external/mockito/src/org/mockito/internal/debugging/
H A DLoggingListener.java15 private final MockitoLogger logger; field in class:LoggingListener
17 public LoggingListener(boolean warnAboutUnstubbed, MockitoLogger logger) { argument
19 this.logger = logger;
23 logger.log(join(
32 logger.log("This stubbing was never used " + unused.getLocation() + "\n");
37 logger.log(join(
50 return logger;
H A DWarningsPrinterImpl.java32 public void print(final MockitoLogger logger) { argument
33 finder.find(new LoggingListener(warnAboutUnstubbed, logger));
37 SimpleMockitoLogger logger = new SimpleMockitoLogger();
38 this.print(logger);
39 return logger.getLoggedInfo();
/external/chromium_org/content/common/
H A Dcontent_ipc_logging.cc10 #define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger) \
11 content::RegisterIPCLogger(msg_id, logger)
29 void RegisterIPCLogger(uint32 msg_id, LogFunction logger) { argument
32 g_log_function_mapping.Get()[msg_id] = logger;
/external/markdown/bin/
H A Dmarkdown36 # Setup a logger manually for compatibility with Python 2.3
37 logger = logging.getLogger('MARKDOWN') variable
38 logger.setLevel(COMMAND_LINE_LOGGING_LEVEL)
39 logger.addHandler(logging.StreamHandler())
/external/chromium_org/chrome/browser/chromeos/file_system_provider/fileapi/
H A Dprovider_async_file_util_unittest.cc184 EventLogger logger; local
190 base::Bind(&EventLogger::OnCreateOrOpen, base::Unretained(&logger)));
192 ASSERT_TRUE(logger.result());
193 EXPECT_EQ(base::File::FILE_ERROR_ACCESS_DENIED, *logger.result());
197 EventLogger logger; local
203 base::Bind(&EventLogger::OnCreateOrOpen, base::Unretained(&logger)));
205 ASSERT_TRUE(logger.result());
206 EXPECT_EQ(base::File::FILE_ERROR_ACCESS_DENIED, *logger.result());
210 EventLogger logger; local
216 base::Bind(&EventLogger::OnCreateOrOpen, base::Unretained(&logger)));
224 EventLogger logger; local
237 EventLogger logger; local
250 EventLogger logger; local
263 EventLogger logger; local
278 EventLogger logger; local
291 EventLogger logger; local
304 EventLogger logger; local
318 EventLogger logger; local
332 EventLogger logger; local
348 EventLogger logger; local
363 EventLogger logger; local
376 EventLogger logger; local
389 EventLogger logger; local
402 EventLogger logger; local
415 EventLogger logger; local
[all...]
/external/lldb/examples/summaries/cocoa/
H A DNSData.py30 logger = lldb.formatters.Logger.Logger()
31 logger >> "NSConcreteData_SummaryProvider __init__"
53 logger = lldb.formatters.Logger.Logger()
54 logger >> "NSConcreteData_SummaryProvider length"
58 logger >> str(size)
59 logger >> str(size.GetValueAsUnsigned(0))
68 logger = lldb.formatters.Logger.Logger()
69 logger >> "NSDataUnknown_SummaryProvider __init__"
78 logger = lldb.formatters.Logger.Logger()
79 logger >> "NSDataUnknown_SummaryProvide
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/
H A Dskip.py28 def skip_if(klass, condition, message=None, logger=None):
31 if not logger:
32 logger = _log
41 setattr(klass, name, _skipped_method(attr, message, logger))
46 def _skipped_method(method, message, logger):
51 logger.info('Skipping %s.%s: %s' % (method.__module__, method.im_class.__name__, message))
H A Dskip_unittest.py32 self.logger = logging.getLogger(__name__)
34 self.old_level = self.logger.level
35 self.logger.setLevel(logging.INFO)
37 self.old_propagate = self.logger.propagate
38 self.logger.propagate = False
42 self.logger.addHandler(self.handler)
47 self.logger.removeHandler(self.handler)
49 self.logger.setLevel(self.old_level)
65 klass = skip_if(self.create_fixture_class(), False, 'Should not see this message.', logger=self.logger)
[all...]
/external/chromium_org/content/public/common/
H A Dcontent_ipc_logging.h17 // Register a logger for the given IPC message. Use
20 // #define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger)
21 // content::RegisterIPCLogger(msg_id, logger)
24 CONTENT_EXPORT void RegisterIPCLogger(uint32 msg_id, LogFunction logger);
/external/chromium_org/chrome/browser/drive/
H A Devent_logger_unittest.cc12 EventLogger logger; local
13 logger.SetHistorySize(3); // At most 3 events are kept.
14 EXPECT_EQ(0U, logger.GetHistory().size());
16 logger.Log(logging::LOG_INFO, "first");
17 logger.Log(logging::LOG_INFO, "%dnd", 2);
18 logger.Log(logging::LOG_INFO, "third");
21 std::vector<EventLogger::Event> history = logger.GetHistory();
30 logger.Log(logging::LOG_INFO, "fourth");
32 history = logger.GetHistory();
/external/chromium_org/third_party/npapi/npspy/windows/
H A Dgui_advanced.cpp44 #include "logger.h"
48 Logger * logger = (Logger *)GetWindowLong(hWnd, DWL_USER); local
49 if(!logger)
52 logger->bSPALID = (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_CHECK_SPALID));
53 logger->bSaveSettings = TRUE;
70 Logger * logger = NULL; local
74 logger = (Logger *)(((PROPSHEETPAGE *)lParam)->lParam);
75 SetWindowLong(hWnd, DWL_USER, (long)logger);
78 if(logger)
80 CheckDlgButton(hWnd, IDC_CHECK_SPALID, logger
[all...]
H A Dgui_general.cpp44 #include "logger.h"
48 Logger * logger = (Logger *)GetWindowLong(hWnd, DWL_USER); local
49 if(!logger)
52 logger->bOnTop = (BST_CHECKED == IsDlgButtonChecked(hWnd, IDC_CHECK_ONTOP));
53 logger->bSaveSettings = TRUE;
70 Logger * logger = NULL; local
74 logger = (Logger *)(((PROPSHEETPAGE *)lParam)->lParam);
75 SetWindowLong(hWnd, DWL_USER, (long)logger);
78 if(logger)
80 CheckDlgButton(hWnd, IDC_CHECK_ONTOP, logger
[all...]
H A Dgui_main.cpp54 static void onOptions(HWND hWnd, Logger * logger) argument
56 if(!logger)
68 psp[0].lParam = (LPARAM)logger;
78 psp[1].lParam = (LPARAM)logger;
88 psp[2].lParam = (LPARAM)logger;
98 psp[3].lParam = (LPARAM)logger;
113 logger->bSaveSettings = FALSE;
119 if(logger->bSaveSettings)
130 profile.setBool(NPSPY_REG_KEY_ONTOP, logger->bOnTop);
131 profile.setBool(NPSPY_REG_KEY_LOGTOWINDOW, logger
148 LoggerWin * logger = (LoggerWin *)GetWindowLong(hWnd, DWL_USER); local
169 LoggerWin * logger = (LoggerWin *)lParam; local
188 LoggerWin * logger = (LoggerWin *)GetWindowLong(hWnd, DWL_USER); local
287 LoggerWin logger; local
[all...]
/external/chromium_org/third_party/skia/platform_tools/android/bin/
H A Dhttp_download.py30 logger=None):
38 logger: Function to log events to.
42 if logger is None:
43 logger = sys.stdout.write
62 # Retry up to 10 times (appengine logger is flaky).
65 logger('Download failed on %s, retrying... (%d)\n' % (url, i))
77 logger('Filesize:%d does not match Content-Length:%d' % (
85 logger('Resource does not exist.\n')
87 logger('Failed to open.\n')
89 logger('Faile
[all...]
/external/skia/platform_tools/android/bin/
H A Dhttp_download.py30 logger=None):
38 logger: Function to log events to.
42 if logger is None:
43 logger = sys.stdout.write
62 # Retry up to 10 times (appengine logger is flaky).
65 logger('Download failed on %s, retrying... (%d)\n' % (url, i))
77 logger('Filesize:%d does not match Content-Length:%d' % (
85 logger('Resource does not exist.\n')
87 logger('Failed to open.\n')
89 logger('Faile
[all...]
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dntp_user_data_logger_unittest.cc47 TestNTPUserDataLogger logger; local
50 logger.LogEvent(NTP_MOUSEOVER);
52 logger.LogEvent(NTP_TILE);
54 logger.LogEvent(NTP_THUMBNAIL_TILE);
56 logger.LogEvent(NTP_THUMBNAIL_ERROR);
57 logger.LogEvent(NTP_GRAY_TILE_FALLBACK);
58 logger.LogEvent(NTP_EXTERNAL_TILE_FALLBACK);
60 logger.LogEvent(NTP_EXTERNAL_TILE);
62 logger.LogEvent(NTP_GRAY_TILE);
63 logger
108 TestNTPUserDataLogger logger; local
135 TestNTPUserDataLogger logger; local
[all...]
/external/chromium_org/build/android/
H A Dadb_logcat_printer.py36 def CombineLogFiles(list_of_lists, logger):
41 logger: handler to log events
60 logger.warning('splice error - no timestamp in "%s"?', line.strip())
64 logger.info('Unable to splice %s. Incomplete logcat?', cur_file)
99 def GetDeviceLogs(log_filenames, logger):
104 logger: logger handle for logging events
112 logger.debug('%s: %s', device, str(device_files))
117 combined_lines = CombineLogFiles(device_file_lines, logger)
127 def ShutdownLogcatMonitor(base_dir, logger)
[all...]
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_manager.cc159 scoped_ptr<BrowserSavePasswordProgressLogger> logger; local
161 logger.reset(new BrowserSavePasswordProgressLogger(client_));
162 logger->LogMessage(Logger::STRING_PROVISIONALLY_SAVE_PASSWORD_METHOD);
163 logger->LogPasswordForm(Logger::STRING_PROVISIONALLY_SAVE_PASSWORD_FORM,
165 logger->LogBoolean(Logger::STRING_IS_SAVING_ENABLED, is_saving_enabled);
166 logger->LogBoolean(Logger::STRING_SSL_ERRORS_PRESENT,
171 RecordFailure(SAVING_DISABLED, form.origin.host(), logger.get());
178 RecordFailure(EMPTY_PASSWORD, form.origin.host(), logger.get());
204 if (logger)
205 logger
292 RecordFailure(ProvisionalSaveFailure failure, const std::string& form_origin, BrowserSavePasswordProgressLogger* logger) argument
428 scoped_ptr<BrowserSavePasswordProgressLogger> logger; local
[all...]

Completed in 3591 milliseconds

1234567891011>>