Skip to content

Commit

Permalink
Merge pull request #34 from stritti/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
stritti authored Oct 18, 2018
2 parents 11e2d45 + 5678b0c commit 8510796
Show file tree
Hide file tree
Showing 36 changed files with 477 additions and 1,073 deletions.
34 changes: 34 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This file is for unifying the coding style for different editors and IDEs
# EditorConfig is awesome: http://EditorConfig.org

root = true

[*.java]
indent_style = space
indent_size = 3
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,css}]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.jsp]
charset = utf-8
indent_style = space
indent_size = 3
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ log4js-site/build/
/log4js-servlet/nbproject/
/log4js/nbproject/private/
log4js/.cache/
log4js-servlet/out/
.idea/
.gradle/
29 changes: 19 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,22 @@ before_script:
script:
- grunt --gruntfile "Gruntfile.js" build
deploy:
provider: releases
api_key:
secure: iKdorqXgiTH3RcLLNj8Q4AoRWxpYA6yT7YDYKnuORz3tcAvHrIBmt+ff6h5zsn2JVGkFamc0njfYdrOfLdc4+cQQfQVq80OhJJnkIQ0WgOtG0yt+yVHKb8lWBGr9P0lMvvBuROsuxGl9jPcgkUTtuvxHoJ3T24WlLDGXJSWdCzw=
file_glob: true
file: target/*.zip
skip_cleanup: true
on:
repo: stritti/log4js
branch: master
tags: true
- provider: npm
email: stephan@st-strittmatter.name
api_key:
secure: NQyGsxZKqApzTxBjsXMI/2drQcCF8s38iuofEL/wbATWC9Y9ggfI6oyd/tqqyYrgouBoSqHPSOEP4ghe381yrO9jlnJMiwzmLqVivZAAe4x2DI3nrlaz+AFcvTpf/36T4LFevTP3Lh6LoVGRrKnfRCjQzfBv0hYOLtjNCc/zjeU=
file_glob: true
file: target/*.zip
skip_cleanup: true
on:
tags: true
repo: stritti/log4js
- provider: releases
api_key:
secure: iKdorqXgiTH3RcLLNj8Q4AoRWxpYA6yT7YDYKnuORz3tcAvHrIBmt+ff6h5zsn2JVGkFamc0njfYdrOfLdc4+cQQfQVq80OhJJnkIQ0WgOtG0yt+yVHKb8lWBGr9P0lMvvBuROsuxGl9jPcgkUTtuvxHoJ3T24WlLDGXJSWdCzw=
file_glob: true
file: target/*.zip
skip_cleanup: true
on:
repo: stritti/log4js
tags: true
1 change: 0 additions & 1 deletion CHANGELOG.txt

This file was deleted.

52 changes: 0 additions & 52 deletions INSTALL.txt

This file was deleted.

4 changes: 0 additions & 4 deletions NOTICE.txt

This file was deleted.

29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Log4js
======

Log4js - The Logging Framework for JavaScript
Log4js - The Logging Framework for JavaScript with no runtime dependencies

## Usage

Expand All @@ -33,6 +33,21 @@ consoleLog.trace('I was traced!')
Within sources there is a more detailed [example](log4js/src/main/example/index.html).

## Development

The project is seperated in modules. Core JavaScript module is located in subdirectory `log4js`

### Structure
````
├───log4js: Main JavaScript Log4js module
├───log4js-servlet: Java Servlet to collect AJAX-Logs serverside
├───log4js-solr: configuration to collect logs using Apache SOLR
├───log4js-site: (outdated) project documentation
````

### Log4js
> Main JavaScript module
To build the JavaScript library we use [npm](https://www.npmjs.com/) and [grunt](https://gruntjs.com/).

````
Expand All @@ -45,9 +60,19 @@ Include then the `target/log4js.min.js` file in your project.

More details in the [Wiki](https://github.com/stritti/log4js/wiki/Development)

### Log4js Servlet

The servlet is Java based project which is compiled using `maven`.

### Log4js SOLR

For more details see [README.md](log4js-solr/README.md) in the subdirectory [log4js-solr](log4js-solr)

### Log4js Site

## Contribution

Pull Requests are very welcome.
[Pull Requests](https://github.com/stritti/log4js/pulls) are very welcome.

## Other JavaScript Logger
There are a lot other projects which are started logging in JavaScript:
Expand Down
10 changes: 0 additions & 10 deletions build.properties

This file was deleted.

Loading

0 comments on commit 8510796

Please sign in to comment.