Skip to content

alot #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 23, 2025
Merged

alot #20

merged 8 commits into from
Jan 23, 2025

Conversation

Seeike
Copy link
Contributor

@Seeike Seeike commented Jan 23, 2025

more logging, enable which type of logs you catch (so log filtering<-- also improves performance),

.joined(separator: "\n---\n")
dateFormatter.dateFormat = "dd-MM-yyyy HH:mm:ss"
return logs.map { "[\(dateFormatter.string(from: $0.timestamp))] [\($0.type)] \($0.message)" }
.joined(separator: "\n----------------------------------------------------------\n")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this back to small because of small screen devices

func log(_ message: String, level: LogLevel = .info) {
let entry = (level: level, message: message, timestamp: Date())
func log(_ message: String, type: String = "General") {
// Check if the log type is enabled
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comment

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comments

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the image in the HStacks

@Seeike
Copy link
Contributor Author

Seeike commented Jan 23, 2025

aye aye captian
image

@cranci1 cranci1 merged commit ce29144 into cranci1:main Jan 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants