Using the latest Xcode 15 Beta 7: In an existing project, I can't get structured logging to work as described. For new projects, it works fine but I must have some setting or value in an existing project that prevents it from working.
My simple text case:
In an existing project file:
@main
struct LuarasBooksApp: App {
var body: some Scene {
WindowGroup {
Text("hi")
.onAppear {
Logger(subsystem: "test", category: "test").error("help me")
}
}
}
}
The debug console looks like this:
That same code in a new project for the same Xcode 15 Beta 7 looks correct:
Are there any settings, variables, etc... related to logging or the console that might cause this difference? In the existing project it makes no difference to toggle the various metadata options on and off.
Thanks!