mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03: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"'
|
// 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
|
// Convert our levels to Mac levels
|
||||||
const mac_level: macos.os.LogType = switch (level) {
|
const mac_level: macos.os.LogType = switch (level) {
|
||||||
.debug => .debug,
|
.debug => .debug,
|
||||||
|
Reference in New Issue
Block a user