Skip to content

Commit

Permalink
Added logging info to app config
Browse files Browse the repository at this point in the history
  • Loading branch information
targendaz2 committed Apr 23, 2024
1 parent af84982 commit c215f30
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
}
}
},
"logging": {
"logPath": "/var/log/msda.log",
"verbose": false
},
"systemPaths": {
"launchServicesPlist": "/Library/Preferences/com.apple.LaunchServices/",
"launchServicesPlist": "/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist",
"lsregister": "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister",
"userTemplate": "/Library/User Template/Non_localized/"
}
Expand Down
9 changes: 9 additions & 0 deletions src/types/msda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ export interface Config {
| DefaultApp;
};

/**
* Configures how MSDA handles logging.
*
* */
logging: {
logPath: string;
verbose: boolean;
};

/**
* Paths to system files and directories.
*
Expand Down

0 comments on commit c215f30

Please sign in to comment.