-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9898492
Showing
51 changed files
with
2,773 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset='utf-8'> | ||
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
<meta name="viewport" content="width=640"> | ||
|
||
<link rel="stylesheet" href="stylesheets/core.css" media="screen"> | ||
<link rel="stylesheet" href="stylesheets/mobile.css" media="handheld, only screen and (max-device-width:640px)"> | ||
<link rel="stylesheet" href="stylesheets/github-light.css"> | ||
|
||
<script type="text/javascript" src="javascripts/modernizr.js"></script> | ||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | ||
<script type="text/javascript" src="javascripts/headsmart.min.js"></script> | ||
<script type="text/javascript"> | ||
$(document).ready(function () { | ||
$('#main_content').headsmart() | ||
}) | ||
</script> | ||
<title>Shoutout by nisrulz</title> | ||
</head> | ||
|
||
<body> | ||
<a id="forkme_banner" href="https://github.com/nisrulz/ShoutOut">View on GitHub</a> | ||
<div class="shell"> | ||
|
||
<header> | ||
<span class="ribbon-outer"> | ||
<span class="ribbon-inner"> | ||
<h1>Shoutout</h1> | ||
<h2>Android wrapper for logging information</h2> | ||
</span> | ||
<span class="left-tail"></span> | ||
<span class="right-tail"></span> | ||
</span> | ||
</header> | ||
|
||
<section id="downloads"> | ||
<span class="inner"> | ||
<a href="https://github.com/nisrulz/ShoutOut/zipball/master" class="zip"><em>download</em> .ZIP</a><a href="https://github.com/nisrulz/ShoutOut/tarball/master" class="tgz"><em>download</em> .TGZ</a> | ||
</span> | ||
</section> | ||
|
||
|
||
<span class="banner-fix"></span> | ||
|
||
|
||
<section id="main_content"> | ||
<h1> | ||
<a id="shoutout" class="anchor" href="#shoutout" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>ShoutOut</h1> | ||
|
||
<p>Android wrapper for logging information.</p> | ||
|
||
<blockquote> | ||
<p>I used to copy-paste this logger file in all my projects so decided to use it like a library. Star it if you find it useful.</p> | ||
</blockquote> | ||
|
||
<h1> | ||
<a id="integration" class="anchor" href="#integration" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Integration</h1> | ||
|
||
<ul> | ||
<li>ShoutOut is available in the MavenCentral, so getting it as simple as adding it as a dependency</li> | ||
</ul> | ||
|
||
<div class="highlight highlight-source-groovy-gradle"><pre>compile <span class="pl-s"><span class="pl-pds">'</span>com.github.nisrulz:shoutout:1.0.0<span class="pl-pds">'</span></span></pre></div> | ||
|
||
<h1> | ||
<a id="usage" class="anchor" href="#usage" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Usage</h1> | ||
|
||
<ul> | ||
<li>First init shoutout, probably in your application class</li> | ||
</ul> | ||
|
||
<div class="highlight highlight-source-java"><pre> <span class="pl-c">// Init the ShoutOut Lib</span> | ||
<span class="pl-smi">ShoutOut</span><span class="pl-k">.</span>init(getClass()<span class="pl-k">.</span>getSimpleName(), <span class="pl-c1">true</span>);</pre></div> | ||
|
||
<p>where the params are <em><strong>TAG</strong></em> and <em><strong>debuggable</strong></em> flag</p> | ||
|
||
<ul> | ||
<li>Now log data as below</li> | ||
</ul> | ||
|
||
<div class="highlight highlight-source-java"><pre> <span class="pl-c">// Debug Logs</span> | ||
<span class="pl-smi">ShoutOut</span><span class="pl-k">.</span>log(<span class="pl-s"><span class="pl-pds">"</span>This is Debug information here in LOGCAT<span class="pl-pds">"</span></span>); | ||
|
||
<span class="pl-c">// Error Logs</span> | ||
<span class="pl-smi">ShoutOut</span><span class="pl-k">.</span>log(<span class="pl-s"><span class="pl-pds">"</span>This is Error information here in LOGCAT<span class="pl-pds">"</span></span>,exception));</pre></div> | ||
|
||
<h1> | ||
<a id="license" class="anchor" href="#license" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>License</h1> | ||
|
||
<pre><code>Copyright 2016 Nishant Srivastava | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
</code></pre> | ||
</section> | ||
|
||
<footer> | ||
<span class="ribbon-outer"> | ||
<span class="ribbon-inner"> | ||
<p>this project by <a href="https://github.com/nisrulz">nisrulz</a> can be found on <a href="https://github.com/nisrulz/ShoutOut">GitHub</a></p> | ||
</span> | ||
<span class="left-tail"></span> | ||
<span class="right-tail"></span> | ||
</span> | ||
<p>Generated with <a href="https://pages.github.com">GitHub Pages</a> using Merlot</p> | ||
<span class="octocat"></span> | ||
</footer> | ||
|
||
</div> | ||
|
||
|
||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log('This would be the main JS file.'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"Shoutout","tagline":"Android wrapper for logging information","body":"# ShoutOut \r\n\r\nAndroid wrapper for logging information.\r\n\r\n> I used to copy-paste this logger file in all my projects so decided to use it like a library. Star it if you find it useful.\r\n\r\n\r\n\r\n#Integration\r\n- ShoutOut is available in the MavenCentral, so getting it as simple as adding it as a dependency\r\n```gradle\r\ncompile 'com.github.nisrulz:shoutout:1.0.0'\r\n```\r\n\r\n#Usage\r\n+ First init shoutout, probably in your application class\r\n```java\r\n // Init the ShoutOut Lib\r\n ShoutOut.init(getClass().getSimpleName(), true);\r\n```\r\n\r\nwhere the params are _**TAG**_ and _**debuggable**_ flag\r\n\r\n+ Now log data as below\r\n```java\r\n // Debug Logs\r\n ShoutOut.log(\"This is Debug information here in LOGCAT\");\r\n\r\n // Error Logs\r\n ShoutOut.log(\"This is Error information here in LOGCAT\",exception));\r\n```\r\n\r\n\r\nLicense\r\n=======\r\n\r\n Copyright 2016 Nishant Srivastava\r\n\r\n Licensed under the Apache License, Version 2.0 (the \"License\");\r\n you may not use this file except in compliance with the License.\r\n You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import url("screen.css"); | ||
@import url("non-screen.css") handheld; | ||
@import url("non-screen.css") only screen and (max-device-width:640px); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
/* | ||
Copyright 2014 GitHub Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
.pl-c /* comment */ { | ||
color: #969896; | ||
} | ||
|
||
.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */, | ||
.pl-s .pl-v /* string variable */ { | ||
color: #0086b3; | ||
} | ||
|
||
.pl-e /* entity */, | ||
.pl-en /* entity.name */ { | ||
color: #795da3; | ||
} | ||
|
||
.pl-s .pl-s1 /* string source */, | ||
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ { | ||
color: #333; | ||
} | ||
|
||
.pl-ent /* entity.name.tag */ { | ||
color: #63a35c; | ||
} | ||
|
||
.pl-k /* keyword, storage, storage.type */ { | ||
color: #a71d5d; | ||
} | ||
|
||
.pl-pds /* punctuation.definition.string, string.regexp.character-class */, | ||
.pl-s /* string */, | ||
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */, | ||
.pl-sr /* string.regexp */, | ||
.pl-sr .pl-cce /* string.regexp constant.character.escape */, | ||
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */, | ||
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ { | ||
color: #183691; | ||
} | ||
|
||
.pl-v /* variable */ { | ||
color: #ed6a43; | ||
} | ||
|
||
.pl-id /* invalid.deprecated */ { | ||
color: #b52a1d; | ||
} | ||
|
||
.pl-ii /* invalid.illegal */ { | ||
background-color: #b52a1d; | ||
color: #f8f8f8; | ||
} | ||
|
||
.pl-sr .pl-cce /* string.regexp constant.character.escape */ { | ||
color: #63a35c; | ||
font-weight: bold; | ||
} | ||
|
||
.pl-ml /* markup.list */ { | ||
color: #693a17; | ||
} | ||
|
||
.pl-mh /* markup.heading */, | ||
.pl-mh .pl-en /* markup.heading entity.name */, | ||
.pl-ms /* meta.separator */ { | ||
color: #1d3e81; | ||
font-weight: bold; | ||
} | ||
|
||
.pl-mq /* markup.quote */ { | ||
color: #008080; | ||
} | ||
|
||
.pl-mi /* markup.italic */ { | ||
color: #333; | ||
font-style: italic; | ||
} | ||
|
||
.pl-mb /* markup.bold */ { | ||
color: #333; | ||
font-weight: bold; | ||
} | ||
|
||
.pl-md /* markup.deleted, meta.diff.header.from-file */ { | ||
background-color: #ffecec; | ||
color: #bd2c00; | ||
} | ||
|
||
.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ { | ||
background-color: #eaffea; | ||
color: #55a532; | ||
} | ||
|
||
.pl-mdr /* meta.diff.range */ { | ||
color: #795da3; | ||
font-weight: bold; | ||
} | ||
|
||
.pl-mo /* meta.output */ { | ||
color: #1d3e81; | ||
} | ||
|
Oops, something went wrong.