mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use std::cout to output console.log messages
NSLog outputs to stderr, but we want our test error messages to output to stdout.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#import "native/atom_cef_client.h"
|
||||
#import "atom_application.h"
|
||||
#import "atom_window_controller.h"
|
||||
#include <iostream>
|
||||
|
||||
void AtomCefClient::FocusNextWindow() {
|
||||
NSArray *windows = [NSApp windows];
|
||||
@@ -111,5 +112,5 @@ void AtomCefClient::Exit(int status) {
|
||||
}
|
||||
|
||||
void AtomCefClient::Log(const char *message) {
|
||||
NSLog(@"%s", message);
|
||||
std::cout << message;
|
||||
}
|
||||
Reference in New Issue
Block a user