Skip to content

Commit

Permalink
2.0.0-beta.19
Browse files Browse the repository at this point in the history
* Fixed #69
* Simplified .gitignore
* Updated all dependencies
  • Loading branch information
Download committed Sep 14, 2021
1 parent 19b54d6 commit d52630b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 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.18</sup></sub>
# ulog <sub><sup>v2.0.0-beta.19</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/ulog@2.0.0-beta.18/ulog.png)
![logo](https://unpkg.com/ulog@2.0.0-beta.19/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/ulog@2.0.0-beta.18/screenshot.jpg)
![screenshot](https://unpkg.com/ulog@2.0.0-beta.19/screenshot.jpg)


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

```html
<script src="https://unpkg.com/ulog@2.0.0-beta.18/ulog.min.js"></script>
<script src="https://unpkg.com/ulog@2.0.0-beta.19/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 @@ -146,12 +146,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/ulog@2.0.0-beta.18/ulog.min.js) (~2.7kB minified and gzipped)
* [ulog.lazy.min.js](https://unpkg.com/ulog@2.0.0-beta.18/ulog.lazy.min.js) (~4.3kB minified and gzipped)
* [ulog.min.js](https://unpkg.com/ulog@2.0.0-beta.19/ulog.min.js) (~2.7kB minified and gzipped)
* [ulog.lazy.min.js](https://unpkg.com/ulog@2.0.0-beta.19/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/ulog@2.0.0-beta.18/full.min.js) (~5.6kB minified and gzipped)
* [full.min.js](https://unpkg.com/ulog@2.0.0-beta.19/full.min.js) (~5.6kB minified and gzipped)

> Full bundle, no lazy loading
Expand Down Expand Up @@ -613,12 +613,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/ulog@2.0.0-beta.18/screenshot-beta.11.jpg)
![screenshot](https://unpkg.com/ulog@2.0.0-beta.19/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/ulog@2.0.0-beta.18/screenshot.jpg)
![screenshot](https://unpkg.com/ulog@2.0.0-beta.19/screenshot.jpg)

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

Expand Down
2 changes: 1 addition & 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.18",
"version": "2.0.0-beta.19",
"description": "The universal logger",
"main": "./ulog.js",
"unpkg": "ulog.min.js",
Expand Down
2 changes: 1 addition & 1 deletion tutorial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>ulog tutorial</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
<link rel="stylesheet" href="../style.css">
<script src="https://unpkg.com/ulog@2.0.0-beta.18/ulog.min.js"></script>
<script src="https://unpkg.com/ulog@2.0.0-beta.19/ulog.min.js"></script>
<script src="test.js"></script>
<script src="my-lib.js"></script>
<script src="my-other-lib.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion vs/debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
<link rel="stylesheet" href="../style.css">
<script src="debug-3.4.2.min.js"></script>
<script src="https://unpkg.com/ulog@2.0.0-beta.18/ulog.min.js"></script>
<script src="https://unpkg.com/ulog@2.0.0-beta.19/ulog.min.js"></script>
<!-- load some small script files with logging in them -->
<!-- to better illustrate if the callstack gets mangled -->
<script src="debug.js"></script>
Expand Down

0 comments on commit d52630b

Please sign in to comment.