Skip to content

Commit

Permalink
added log message
Browse files Browse the repository at this point in the history
  • Loading branch information
lostjared committed Feb 13, 2019
1 parent a9b9ae8 commit 4a8aafe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file not shown.
6 changes: 4 additions & 2 deletions Acid.Cam.v2.OSX/AC_Controller.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2428,14 +2428,13 @@ - (IBAction) custom_Save: (id) sender {
file_n << value1s << ":" << value2s << "\n";
}
std::ostringstream stream;
stream << "Wrote custom to: " << [fileName UTF8String] << "\n";
stream << "Saved Custom Filter: " << [fileName UTF8String] << "\n";
flushToLog(stream);
file_n.close();
}
}

- (void) setCustomValue: (NSString *)sid value: (NSString *)value {
NSLog(@"Value ID: %@ Value %@\n", sid, value);
NSInteger num = [value integerValue];
if([sid isEqualToString:@"=red"]) {
[red_slider setIntegerValue:num];
Expand Down Expand Up @@ -2576,6 +2575,9 @@ - (IBAction) custom_Load: (id) sender {
[self updatePref:NO];
[table_view reloadData];
file.close();
std::ostringstream stream_;
stream_ << "Loaded Custom Filter: " << [fileName UTF8String] << "\n";
flushToLog(stream_);
}
}

Expand Down

0 comments on commit 4a8aafe

Please sign in to comment.