mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 05:20:29 +00:00
use Apple logging subsystem on all Darwin targets
This commit is contained in:
@@ -130,7 +130,7 @@ pub const std_options = struct {
|
||||
//
|
||||
// sudo log stream --level debug --predicate 'subsystem=="com.mitchellh.ghostty"'
|
||||
//
|
||||
if (builtin.os.tag == .macos) {
|
||||
if (builtin.target.isDarwin()) {
|
||||
// Convert our levels to Mac levels
|
||||
const mac_level: macos.os.LogType = switch (level) {
|
||||
.debug => .debug,
|
||||
|
||||
Reference in New Issue
Block a user