Skip to content

Commit

Permalink
2.0.0-beta.15: Fixed missing screenshot
Browse files Browse the repository at this point in the history
+ Added screenshot to list of files in package.json
+ Updated README
  • Loading branch information
Download committed Feb 4, 2021
1 parent 1c0d797 commit 089c246
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ulog <sub><sup>v2.0.0-beta.14</sup></sub>
# ulog <sub><sup>v2.0.0-beta.15</sup></sub>
### The Universal Logger

[![npm](https://img.shields.io/npm/v/ulog.svg)](https://npmjs.com/package/ulog)
Expand All @@ -8,14 +8,14 @@

<sup><sub><sup><sub>.</sub></sup></sub></sup>

![logo](https://unpkg.com/[email protected].14/ulog.png)
![logo](https://unpkg.com/[email protected].15/ulog.png)


## The logger for javascript applications

`ulog` is *the* logger for Javascript applications. It's universal, meaning it runs everywhere. You can use `ulog` in your Express server application running on Node JS just as well as in your React single page application running in the browser. It just works.

![screenshot](https://unpkg.com/[email protected].14/screenshot.jpg)
![screenshot](https://unpkg.com/[email protected].15/screenshot.jpg)


## Features
Expand Down Expand Up @@ -116,7 +116,7 @@ log('Logging is easy')
If you want, you can import `ulog` with a script tag:

```html
<script src="https://unpkg.com/[email protected].14/ulog.min.js"></script>
<script src="https://unpkg.com/[email protected].15/ulog.min.js"></script>
<!-- publishes to `self.anylogger` and `self.ulog`. -->
<!-- lazy loads ulog.lazy.min.js on demand. -->
<script src="myscript.js"></script>
Expand All @@ -132,12 +132,12 @@ log('Logging is easy!')
If you want the file for the browser to include in your project yourself, you
can download it from here.

* [ulog.min.js](https://unpkg.com/[email protected].14/ulog.min.js) (~2.8kB minified and gzipped)
* [ulog.lazy.min.js](https://unpkg.com/[email protected].14/ulog.lazy.min.js) (~4.3kB minified and gzipped)
* [ulog.min.js](https://unpkg.com/[email protected].15/ulog.min.js) (~2.8kB minified and gzipped)
* [ulog.lazy.min.js](https://unpkg.com/[email protected].15/ulog.lazy.min.js) (~4.3kB minified and gzipped)

> `ulog.min.js` lazy loads `ulog.lazy.min.js` on demand, so make sure to include both files in your download
* [full.min.js](https://unpkg.com/[email protected].14/full.min.js) (~5.7kB minified and gzipped)
* [full.min.js](https://unpkg.com/[email protected].15/full.min.js) (~5.7kB minified and gzipped)

> Full bundle, no lazy loading
Expand Down Expand Up @@ -591,12 +591,12 @@ messages at these higher levels are indented a bit more than the other
messages, making the logging harder to read. This can be clearly seen in the
screenshot from `ulog` v2.0.0-beta-11, which did not yet have alignment:

![screenshot](https://unpkg.com/[email protected].14/screenshot-beta.11.jpg)
![screenshot](https://unpkg.com/[email protected].15/screenshot-beta.11.jpg)

`ulog` now automatically adds some formatting that negates the extra indentation
the messages at these higher levels get, so all messages are nicely aligned:

![screenshot](https://unpkg.com/[email protected].14/screenshot.jpg)
![screenshot](https://unpkg.com/[email protected].15/screenshot.jpg)

You can control alignment with [config option `log_align`](#config-option-log_align).

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ulog",
"version": "2.0.0-beta.14",
"version": "2.0.0-beta.15",
"description": "The universal logger",
"main": "./ulog.js",
"unpkg": "ulog.min.js",
Expand All @@ -22,6 +22,7 @@
"ulog.lazy.min.js",
"ulog.min.js",
"screenshot.jpg",
"screenshot-beta.11.jpg",
"ulog.png",
"webpack.config.js"
],
Expand Down

0 comments on commit 089c246

Please sign in to comment.