Loginator
The best way to display your logs
Loginator is a high performance log viewer that shows you logs in realtime:
- Chainsaw (nlog, log4net, log4j, etc.)
- Logcat (Android)
Download
You can download the current release or by clicking Releases above.
Preview
Here is how it looks like:
Some cool features include
- Limit the number of logs held in memory
- Show details of a log like exception, context, etc.
- Show/Hide logs based on application
- Show/Hide logs based on namespace
- Filter output based on log level and expressions
- Configure log type and port
Issues
If the timestamps are incorrect (i.e. off by x hours): Remove existing configurations from C:\Users\your-username\AppData\Local\Loginator by simply deleting all folders and restarting the application.
TODO (from most to least important)
- Add option to group by application (name only)
- Export function
- Test with log4j and log4net
- Documentation for installation
- Other data sources (database, file, etc.) via polling
Chainsaw logging
- NLog (.net):
In your logging app add a new target
<target xsi:type="Chainsaw" name="chainsaw" address="udp://127.0.0.1:7071" />
or, if you want do include the context
<target xsi:type="Chainsaw" name="chainsaw" address="udp://127.0.0.1:7071" includeMdc="true" />
and add the logger
<logger name="*" minlevel="Trace" writeTo="chainsaw" />
Logcat logging
-
Connect your Android device to your PC or Mac via USB
-
Find your device ID: /[path-to]/Android/sdk/platform-tools/adb devices
-
Forward the logcat output to your machine with Loginator running
- Windows:
[path-to]\Android\sdk\platform-tools\adb.exe -s [your-device-id] logcat | ncat.exe -u [ip-where-loginator-runs] 7081
Please note: As ncat.exe is not part of Windows, you have to download nmap first and use ncat.exe from there. To do that simply visit https://nmap.org/download.html locate and download the "Latest command-line zipfile". Unpack the .zip and take the files: libeay32.dll, ncat.exe and ssleay32.dll and copy them in a separate folder. You now have a valid ncat.exe application.
- Mac:
cat <(/[path-to]/Android/sdk/platform-tools/adb -s [your-device-id] logcat) | nc -u [ip-where-loginator-runs] 7081
Tested with
- Chainsaw: NLog (.net), same machine (Windows 10)
- Logcat: Android logcat (default output format), remote machine (Android: Windows/Mac OSx, Loginator: Windows 10)