Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js

Issue 2646033003: DevTools: streamline console logging levels, migrate 'log' to 'info' level, 'debug' to 'verbose' le… (Closed)
Patch Set: missing rebaseline Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 Result: 'result', 506 Result: 'result',
507 Profile: 'profile', 507 Profile: 'profile',
508 ProfileEnd: 'profileEnd', 508 ProfileEnd: 'profileEnd',
509 Command: 'command' 509 Command: 'command'
510 }; 510 };
511 511
512 /** 512 /**
513 * @enum {string} 513 * @enum {string}
514 */ 514 */
515 SDK.ConsoleMessage.MessageLevel = { 515 SDK.ConsoleMessage.MessageLevel = {
516 Log: 'log', 516 Verbose: 'verbose',
517 Info: 'info', 517 Info: 'info',
518 Warning: 'warning', 518 Warning: 'warning',
519 Error: 'error', 519 Error: 'error'
520 Debug: 'debug'
521 }; 520 };
522 521
523 522
524 /** 523 /**
525 * @implements {Protocol.LogDispatcher} 524 * @implements {Protocol.LogDispatcher}
526 * @unrestricted 525 * @unrestricted
527 */ 526 */
528 SDK.LogDispatcher = class { 527 SDK.LogDispatcher = class {
529 /** 528 /**
530 * @param {!SDK.ConsoleModel} console 529 * @param {!SDK.ConsoleModel} console
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 */ 617 */
619 _commandEvaluated(event) { 618 _commandEvaluated(event) {
620 this.dispatchEventToListeners(SDK.ConsoleModel.Events.CommandEvaluated, even t.data); 619 this.dispatchEventToListeners(SDK.ConsoleModel.Events.CommandEvaluated, even t.data);
621 } 620 }
622 }; 621 };
623 622
624 /** 623 /**
625 * @type {!SDK.MultitargetConsoleModel} 624 * @type {!SDK.MultitargetConsoleModel}
626 */ 625 */
627 SDK.multitargetConsoleModel; 626 SDK.multitargetConsoleModel;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698