Skip to content

Commit

Permalink
Disable FBSimulatorControl_SimLogHandler temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
fr0l committed Jun 28, 2021
1 parent 71a72b0 commit b6c1216
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions FBSimulatorControl/Utility/FBSimulatorControlFrameworkLoader.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

static void FBSimulatorControl_SimLogHandler(int level, const char *function, int lineNumber, NSString *format, ...)
{
va_list args;
va_start(args, format);
NSString *string = [[NSString alloc] initWithFormat:format arguments:args];
va_end(args);
id<FBControlCoreLogger> logger = [FBControlCoreGlobalConfiguration.defaultLogger withName:@"CoreSimulator"];
[logger log:string];

// va_list args;
// va_start(args, format);
// NSString *string = [[NSString alloc] initWithFormat:format arguments:args];
// va_end(args);
// [logger log:string];
}

@interface FBSimulatorControlFrameworkLoader_Essential : FBSimulatorControlFrameworkLoader
Expand Down

0 comments on commit b6c1216

Please sign in to comment.