Skip to content

Commit

Permalink
Wider preview images
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Sep 13, 2018
1 parent fec09b0 commit effb9a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Once installed, the tweak will run in any application containing XMPPFramework's
To view the logs, open Console on MacOS, select your iOS device, and search "XMPPFramework".


[![](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-console600w.png)](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-console.png)
[![](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-console900w.png)](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-console.png)



Expand All @@ -52,7 +52,7 @@ To view the logs, open Console on MacOS, select your iOS device, and search "XMP

The Console logs contain all the necessary information, but are very hard to make a mental model from. I've written a script to make them a little easier on the eye:

[![](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-formattedxml600w.png)](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-formattedxml.png)
[![](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-formattedxml900w.png)](https://brianhenryie.s3.amazonaws.com/2018/xmppframeworklogger-formattedxml.png)

Messages from the client are highlighted blue and responses from the server in orange. XML is indented, JSON inside <json> tags is formatted using PHP [JSON\_PRETTY\_PRINT](http://php.net/manual/en/function.json-encode.php) and style is applied with Google's [code-prettify](https://github.com/google/code-prettify) library.

Expand Down

0 comments on commit effb9a1

Please sign in to comment.