Skip to content

Commit 8510796

Browse files
authored
Merge pull request #34 from stritti/develop
Develop
2 parents 11e2d45 + 5678b0c commit 8510796

36 files changed

+477
-1073
lines changed

.editorconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# EditorConfig is awesome: http://EditorConfig.org
3+
4+
root = true
5+
6+
[*.java]
7+
indent_style = space
8+
indent_size = 3
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
[*.{js,css}]
15+
indent_style = tab
16+
end_of_line = lf
17+
charset = utf-8
18+
trim_trailing_whitespace = true
19+
insert_final_newline = true
20+
21+
[*.jsp]
22+
charset = utf-8
23+
indent_style = space
24+
indent_size = 3
25+
end_of_line = lf
26+
insert_final_newline = true
27+
trim_trailing_whitespace = true
28+
29+
[*.json]
30+
indent_style = space
31+
indent_size = 2
32+
33+
[*.md]
34+
trim_trailing_whitespace = false

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ log4js-site/build/
1111
/log4js-servlet/nbproject/
1212
/log4js/nbproject/private/
1313
log4js/.cache/
14+
log4js-servlet/out/
15+
.idea/
16+
.gradle/

.travis.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,22 @@ before_script:
2525
script:
2626
- grunt --gruntfile "Gruntfile.js" build
2727
deploy:
28-
provider: releases
29-
api_key:
30-
secure: iKdorqXgiTH3RcLLNj8Q4AoRWxpYA6yT7YDYKnuORz3tcAvHrIBmt+ff6h5zsn2JVGkFamc0njfYdrOfLdc4+cQQfQVq80OhJJnkIQ0WgOtG0yt+yVHKb8lWBGr9P0lMvvBuROsuxGl9jPcgkUTtuvxHoJ3T24WlLDGXJSWdCzw=
31-
file_glob: true
32-
file: target/*.zip
33-
skip_cleanup: true
34-
on:
35-
repo: stritti/log4js
36-
branch: master
37-
tags: true
28+
- provider: npm
29+
30+
api_key:
31+
secure: NQyGsxZKqApzTxBjsXMI/2drQcCF8s38iuofEL/wbATWC9Y9ggfI6oyd/tqqyYrgouBoSqHPSOEP4ghe381yrO9jlnJMiwzmLqVivZAAe4x2DI3nrlaz+AFcvTpf/36T4LFevTP3Lh6LoVGRrKnfRCjQzfBv0hYOLtjNCc/zjeU=
32+
file_glob: true
33+
file: target/*.zip
34+
skip_cleanup: true
35+
on:
36+
tags: true
37+
repo: stritti/log4js
38+
- provider: releases
39+
api_key:
40+
secure: iKdorqXgiTH3RcLLNj8Q4AoRWxpYA6yT7YDYKnuORz3tcAvHrIBmt+ff6h5zsn2JVGkFamc0njfYdrOfLdc4+cQQfQVq80OhJJnkIQ0WgOtG0yt+yVHKb8lWBGr9P0lMvvBuROsuxGl9jPcgkUTtuvxHoJ3T24WlLDGXJSWdCzw=
41+
file_glob: true
42+
file: target/*.zip
43+
skip_cleanup: true
44+
on:
45+
repo: stritti/log4js
46+
tags: true

CHANGELOG.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

INSTALL.txt

Lines changed: 0 additions & 52 deletions
This file was deleted.

NOTICE.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Log4js
77
======
88

9-
Log4js - The Logging Framework for JavaScript
9+
Log4js - The Logging Framework for JavaScript with no runtime dependencies
1010

1111
## Usage
1212

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

3535
## Development
36+
37+
The project is seperated in modules. Core JavaScript module is located in subdirectory `log4js`
38+
39+
### Structure
40+
````
41+
├───log4js: Main JavaScript Log4js module
42+
├───log4js-servlet: Java Servlet to collect AJAX-Logs serverside
43+
├───log4js-solr: configuration to collect logs using Apache SOLR
44+
├───log4js-site: (outdated) project documentation
45+
46+
````
47+
48+
### Log4js
49+
> Main JavaScript module
50+
3651
To build the JavaScript library we use [npm](https://www.npmjs.com/) and [grunt](https://gruntjs.com/).
3752

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

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

63+
### Log4js Servlet
64+
65+
The servlet is Java based project which is compiled using `maven`.
66+
67+
### Log4js SOLR
68+
69+
For more details see [README.md](log4js-solr/README.md) in the subdirectory [log4js-solr](log4js-solr)
70+
71+
### Log4js Site
72+
4873
## Contribution
4974

50-
Pull Requests are very welcome.
75+
[Pull Requests](https://github.com/stritti/log4js/pulls) are very welcome.
5176

5277
## Other JavaScript Logger
5378
There are a lot other projects which are started logging in JavaScript:

build.properties

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)