Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
134 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Packages/KYAActivationDurations/Sources/KYAActivationDurations/KYAActivationDurationsLog.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// KYAActivationDurationsLog.h | ||
// KYAActivationDurations | ||
// | ||
// Created by Marcel Dierkes on 14.05.23. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <os/log.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/// Returns the default log for the ActivationDurations category. | ||
FOUNDATION_EXPORT os_log_t KYAActivationDurationsLog(void); | ||
|
||
NS_ASSUME_NONNULL_END |
19 changes: 19 additions & 0 deletions
19
Packages/KYAActivationDurations/Sources/KYAActivationDurations/KYAActivationDurationsLog.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// KYAActivationDurationsLog.m | ||
// KYAActivationDurations | ||
// | ||
// Created by Marcel Dierkes on 14.05.23. | ||
// | ||
|
||
#import "KYAActivationDurationsLog.h" | ||
#import "KYADefines.h" | ||
|
||
os_log_t KYAActivationDurationsLog() | ||
{ | ||
static os_log_t log; | ||
static dispatch_once_t onceToken; | ||
dispatch_once(&onceToken, ^{ | ||
log = KYALogCreateWithCategory("ActivationDurations"); | ||
}); | ||
return log; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
Packages/KYAApplicationSupport/Sources/KYAApplicationSupport/KYAApplicationSupportLog.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// KYAApplicationSupportLog.h | ||
// KYAApplicationSupport | ||
// | ||
// Created by Marcel Dierkes on 14.05.23. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <os/log.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/// Returns the default log for the ApplicationSupport category. | ||
FOUNDATION_EXPORT os_log_t KYAApplicationSupportLog(void); | ||
|
||
NS_ASSUME_NONNULL_END |
19 changes: 19 additions & 0 deletions
19
Packages/KYAApplicationSupport/Sources/KYAApplicationSupport/KYAApplicationSupportLog.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// KYAApplicationSupportLog.m | ||
// KYAApplicationSupport | ||
// | ||
// Created by Marcel Dierkes on 14.05.23. | ||
// | ||
|
||
#import "KYAApplicationSupportLog.h" | ||
#import "KYADefines.h" | ||
|
||
os_log_t KYAApplicationSupportLog() | ||
{ | ||
static os_log_t log; | ||
static dispatch_once_t onceToken; | ||
dispatch_once(&onceToken, ^{ | ||
log = KYALogCreateWithCategory("ApplicationSupport"); | ||
}); | ||
return log; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.