Skip to content

Commit

Permalink
fix(cli): corrected property names on logging api
Browse files Browse the repository at this point in the history
  • Loading branch information
heapwolf committed Jun 22, 2024
1 parent 27b37ba commit 262d8bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ unsigned short createLogSocket() {
while ((logEntry = [enumerator nextObject]) != nil) {
count++;
OSLogEntryLog *entry = (OSLogEntryLog *)logEntry;
if ([entry.timestamp isEqualToDate:timestamp]) continue;
if ([entry.date isEqualToDate:timestamp]) continue;

NSString *message = [entry composedMessage];
timestamp = entry.timestamp;
timestamp = entry.date;
std::cout << message.UTF8String << std::endl;
}
}
Expand Down

0 comments on commit 262d8bd

Please sign in to comment.