Skip to content

Log is always empty despite running enableCompleteLogging() #23

@falhenaki

Description

@falhenaki

I have a tweak that runs the following code

#include "InspCWrapper.m"

%ctor {
    setMaximumRelativeLoggingDepth(4);

    NSLog(@"Flag1");
    enableLogging();
    enableCompleteLogging();

    NSLog(@"Flag2");
}

I can confirm that this runs because both Flag1 and Flag2 run successfully. However, despite running enableCompleteLogging(). The log file located in
/var/mobile/Containers/Data/Application/<App-Hex>/Documents/InspectiveC
I always empty. I am happy to sure any additional information if you can confirm that this is not a mistake on my part/what information you need. I installed the deb from Cydia so I did not use fishook when compiling (is this the reason?).
Also, i attempted using the same function using cycript and got this

cy#  enableCompleteLogging(); 
throw new Error("insufficient number of arguments to ffi function")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions