All Apps and Add-ons

SplunkMint MintLog in Swift

vikramhimanshu
New Member

How can I (or can I) use MintLog in Swift? I tried referring the documentation but no luck.

Tags (1)
0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

Please see Docs here for using MINTLog in Swift.

0 Karma

vikramhimanshu
New Member

"With the MintLog function you can print messages to the console using the Apple Logging System (ALS). When in debug mode, all messages are displayed in the console window and printed to the device log. When in release mode, all messages are displayed in the console window, but only notice messages and higher are printed to the device log."

Can you provide a swift code sample for logging using MintLog ? Like printing something on console when in debug mode? Like it states above?

0 Karma

croyal_splunk
Splunk Employee
Splunk Employee

Please see Docs for Swift code examples.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...