Skip to content
Snippets Groups Projects
Commit ce69289a authored by George Nachman's avatar George Nachman
Browse files

Reduce log levels of various log statements

parent e164227c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3790,7 +3790,7 @@ static double EuclideanDistance(NSPoint p1, NSPoint p2) {
 
- (void)contextMenuActionOpenFile:(id)sender
{
NSLog(@"Open file: '%@'", [sender representedObject]);
DLog(@"Open file: '%@'", [sender representedObject]);
[[NSWorkspace sharedWorkspace] openFile:[[sender representedObject] stringByExpandingTildeInPath]];
}
 
Loading
Loading
@@ -3798,16 +3798,16 @@ static double EuclideanDistance(NSPoint p1, NSPoint p2) {
{
NSURL *url = [NSURL URLWithUserSuppliedString:[sender representedObject]];
if (url) {
NSLog(@"Open URL: %@", [sender representedObject]);
DLog(@"Open URL: %@", [sender representedObject]);
[[NSWorkspace sharedWorkspace] openURL:url];
} else {
NSLog(@"%@ is not a URL", [sender representedObject]);
DLog(@"%@ is not a URL", [sender representedObject]);
}
}
 
- (void)contextMenuActionRunCommand:(id)sender {
NSString *command = [sender representedObject];
ELog(@"Run command: %@", command);
DLog(@"Run command: %@", command);
[NSThread detachNewThreadSelector:@selector(runCommand:)
toTarget:[self class]
withObject:command];
Loading
Loading
@@ -3815,7 +3815,7 @@ static double EuclideanDistance(NSPoint p1, NSPoint p2) {
 
- (void)contextMenuActionRunCommandInWindow:(id)sender {
NSString *command = [sender representedObject];
ELog(@"Run command in window: %@", command);
DLog(@"Run command in window: %@", command);
[[iTermController sharedInstance] openSingleUseWindowWithCommand:command];
}
 
Loading
Loading
@@ -3830,14 +3830,14 @@ static double EuclideanDistance(NSPoint p1, NSPoint p2) {
- (void)contextMenuActionRunCoprocess:(id)sender
{
NSString *command = [sender representedObject];
NSLog(@"Run coprocess: %@", command);
DLog(@"Run coprocess: %@", command);
[_delegate launchCoprocessWithCommand:command];
}
 
- (void)contextMenuActionSendText:(id)sender
{
NSString *command = [sender representedObject];
NSLog(@"Send text: %@", command);
DLog(@"Send text: %@", command);
[_delegate insertText:command];
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment