<commit_before>named-frames
============

This is a tiny java library to include any text messages
into Java stack traces.


For example, one needs to include the message ```this is my named frame```
into the application stacktrace. The resulting stacktrace should be the
following:

        java.lang.Exception
        	at com.some.corp.something.crashTheJob(SomeOtherOtherSource.java:42)
        	at com.some.corp.something.toItNow(SomeOtherSource.java:52)
        	at _.this is my named frame._(JavaGeneratorTemplate.java:24)
        	at org.jonnyzzz.stack.NamedStackFrame.frame(NamedStackFrame.java:29)
        	at com.some.corp.something.toTheJob(SomeSource.java:50)

This is done via the following code with the library

        NamedStackFrame.global().frame("this is my named frame",
            new Runnable() {
                public void run() {
                     //here goes the code
                }
            });

There could be a number of nice use-cases for the library, for example

- include product version on each stack trace
- include heavy task details into the stack
- and much more!


Dependencies
------------

The library does not have any non-optional dependencies to allow it
to be widely used without dependencies resolution hell

License
-------

*MIT License*

For more details, see LICENSE.txt in the repository


Building
--------

The project is build with Maven


Builds
------

TBD<commit_msg>include travis-ci status<commit_after>named-frames
============

This is a tiny java library to include any text messages
into Java stack traces.


For example, one needs to include the message ```this is my named frame```
into the application stacktrace. The resulting stacktrace should be the
following:

        java.lang.Exception
        	at com.some.corp.something.crashTheJob(SomeOtherOtherSource.java:42)
        	at com.some.corp.something.toItNow(SomeOtherSource.java:52)
        	at _.this is my named frame._(JavaGeneratorTemplate.java:24)
        	at org.jonnyzzz.stack.NamedStackFrame.frame(NamedStackFrame.java:29)
        	at com.some.corp.something.toTheJob(SomeSource.java:50)

This is done via the following code with the library

        NamedStackFrame.global().frame("this is my named frame",
            new Runnable() {
                public void run() {
                     //here goes the code
                }
            });

There could be a number of nice use-cases for the library, for example

- include product version on each stack trace
- include heavy task details into the stack
- and much more!


Dependencies
------------

The library does not have any non-optional dependencies to allow it
to be widely used without dependencies resolution hell

License
-------

*MIT License*

For more details, see LICENSE.txt in the repository


Building
--------

The project is build with Maven


Builds
------

[![Build Status](https://travis-ci.org/jonnyzzz/named-java-frames.svg?branch=master)](https://travis-ci.org/jonnyzzz/named-java-frames)

TBD
{'fraction_non_alphanumeric': 0.09642147117296222, 'fraction_numerical': 0.0066269052352551355, 'mean_word_length': 2.764339152119701, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1128105', 'n_tokens_mistral': 844, 'n_tokens_neox': 800, 'n_words': 301}