Skip to content

Commit 52a527f

Browse files
committed
version bump to v0.7.0 and readme, godoc update
1 parent 652f18b commit 52a527f

File tree

4 files changed

+23
-29
lines changed

4 files changed

+23
-29
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
# log - aah framework
2-
[![Build Status](https://travis-ci.org/go-aah/log.svg?branch=master)](https://travis-ci.org/go-aah/log) [![codecov](https://codecov.io/gh/go-aah/log/branch/master/graph/badge.svg)](https://codecov.io/gh/go-aah/log/branch/master) [![Go Report Card](https://goreportcard.com/badge/aahframework.org/log.v0)](https://goreportcard.com/report/aahframework.org/log.v0)
3-
[![Version](https://img.shields.io/badge/version-0.6-blue.svg)](https://github.com/go-aah/log/releases/latest) [![GoDoc](https://godoc.org/aahframework.org/log.v0?status.svg)](https://godoc.org/aahframework.org/log.v0)
4-
[![License](https://img.shields.io/github/license/go-aah/log.svg)](LICENSE)
1+
<p align="center">
2+
<img src="https://cdn.aahframework.org/assets/img/aah-logo-64x64.png" />
3+
<h2 align="center">Logger by aah framework</h2>
4+
</p>
5+
<p align="center">
6+
<p align="center"><a href="https://travis-ci.org/go-aah/log"><img src="https://travis-ci.org/go-aah/log.svg?branch=master" alt="Build Status"></a> <a href="https://codecov.io/gh/go-aah/log/branch/master"><img src="https://codecov.io/gh/go-aah/log/branch/master/graph/badge.svg" alt="Code Coverage"></a> <a href="https://goreportcard.com/report/aahframework.org/log.v0"><img src="https://goreportcard.com/badge/aahframework.org/log.v0" alt="Go Report Card"></a> <a href="https://github.com/go-aah/log/releases/latest"><img src="https://img.shields.io/badge/version-0.7.0-blue.svg" alt="Release Version"></a> <a href="https://godoc.org/aahframework.org/log.v0"><img src="https://godoc.org/aahframework.org/log.v0?status.svg" alt="Godoc"></a> <a href="https://twitter.com/aahframework"><img src="https://img.shields.io/badge/[email protected]" alt="Twitter @aahframework"></a></p>
7+
</p>
58

6-
***v0.6 [released](https://github.com/go-aah/log/releases/latest) and tagged on Oct 02, 2017***
9+
aah logger is simple and provides capabilities to fulfill application use cases.
710

8-
Simple, flexible & powerful `Go` logger inspired by standard logger & Google glog. aah framework utilizes `log` library across.
11+
### News
912

10-
*`log` developed for aah framework. However, it's an independent library, can be used separately with any `Go` language project. Feel free to use it.*
13+
* `v0.7.0` [released](https://github.com/go-aah/log/releases/latest) and tagged on Jun 24, 2018.
1114

12-
# Installation
13-
#### Stable Version - Production Ready
14-
```sh
15-
# install the library
15+
## Installation
16+
17+
```bash
1618
go get -u aahframework.org/log.v0
1719
```
1820

19-
Visit official website https://aahframework.org to learn more.
21+
Visit official website https://aahframework.org to learn more about `aah` framework.

file_receiver.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,7 @@ func (f *FileReceiver) rotateFile() error {
175175
}
176176
}
177177

178-
if err := f.openFile(); err != nil {
179-
return err
180-
}
181-
182-
return nil
178+
return f.openFile()
183179
}
184180

185181
func (f *FileReceiver) openFile() error {

log.go

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/log source code and usage is governed by a MIT style
2+
// aahframework.org/log source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

5-
// Package log implements a simple, flexible, non-blocking logger.
6-
// It supports `console`, `file` (rotation by daily, size, lines).
7-
// It also has a predefined 'standard' Logger accessible through helper
8-
// functions `Error{f}`, `Warn{f}`, `Info{f}`, `Debug{f}`, `Trace{f}`,
9-
// `Print{f,ln}`, `Fatal{f,ln}`, `Panic{f,ln}` which are easier to use than creating
10-
// a Logger manually. Default logger writes to standard error and prints log
11-
// `Entry` details as per `DefaultPattern`.
5+
// Package log simple logger and provides capabilities to fulfill application
6+
// use cases. It supports two receivers `console` and `file` and extensible
7+
// by interface and Hook.
128
//
13-
// aah log package can be used as drop-in replacement for standard go logger
14-
// with features.
9+
// Also provides standard logger crossover binding (drop-in replacement
10+
// for standard go logger) for unified logging.
1511
//
1612
// log.Info("Welcome ", "to ", "aah ", "logger")
1713
// log.Infof("%v, %v, %v", "simple", "flexible", "logger")

version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) Jeevanandam M (https://github.com/jeevatkm)
2-
// go-aah/log source code and usage is governed by a MIT style
2+
// aahframework.org/log source code and usage is governed by a MIT style
33
// license that can be found in the LICENSE file.
44

55
package log
66

77
// Version no. of aahframework.org/log library
8-
const Version = "0.7.0-edge"
8+
const Version = "0.7.0"

0 commit comments

Comments
 (0)