Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple viewer to see your app's logs on your iDevice in realtime.

License

Notifications You must be signed in to change notification settings

erkanyildiz/EYLogTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

20 Commits

Repository files navigation

EYLogTextView

A simple UITextView subclass to see your app's logs on your iDevice in realtime.

Features

  • One line to integrate. Singleton for easier access.
  • Shake device to hide and show.
  • Compatible with standard NSLog, print and Logger, no special logging method needed.
  • Saves all logs to local files to be shared later.
  • Customizable size, position, opacity, font and colors.
  • Default style is optimized for best visibility based on macOS Terminal.app Red Sands theme.
  • Always on top, except for system windows like keyboards, alerts, etc.
  • Uses NSPipe on stderr and stdout (no overhead).
  • Works even while not connected to Xcode.
  • Compatible with both Objective-C and Swift projects.
  • Drag&Drop to any point on the screen by long press.

Integration

Objective-C Projects

In your project's AppDelegate, import EYLogTextView.h and add following line at the beginning of application:didFinishLaunchingWithOptions: method:

[EYLogTextView add];

(For potentially capturing earlier logs you can start it main.m as well.)

Swift Projects

In your project's Bridging Header, import EYLogTextView.h and add following line at the beginning of application:didFinishLaunchingWithOptions: function:

EYLogTextView.add()

Usage

  • By default EYLogTextView will be hidden. You can shake your device to make it visible.
  • You can also use show/hide or toggle methods to change visibility.
  • As it is a UITextView subclass singleton, you can customizable size, position, opacity, font and colors as you wish by accessing the shared instance using sharedInstance method.
  • You can long press to drag&drop it anywhere you want.
  • You can tap to display menu with following options:
    • Share current log file
    • See all log files
    • Share current console text
    • Hide
    • Clear current console text
  • You can share all previously saved logs files and current log file.
  • You can delete all previously saved logs files.

ScreenShots (will be updated soon)

ss1 ss2 ss3 ss4

About

A simple viewer to see your app's logs on your iDevice in realtime.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /