mark as 1.0.0

pull/2/merge v1.0.0
Anton Smirnov 2014-10-31 00:15:05 +03:00
parent fc62497b81
commit 51c453a5dd
4 changed files with 6 additions and 9 deletions

View File

@ -9,7 +9,7 @@ A systemd-journal native logging lib wrapper.
require 'journald/native'
```
## Constants
### Constants
Constants are used to denote a log level
@ -30,7 +30,7 @@ systemd-journal uses syslog constants to denote level therefore they are equal t
e.g. ```Journald::LOG_WARNING == Syslog::LOG_WARNING```.
[See syslog man page for more info](http://man7.org/linux/man-pages/man3/syslog.3.html)
## Methods
### Methods
Methods of Journald::Native class wrap systemd-journal calls.
[See sd-journal help for more info](http://www.freedesktop.org/software/systemd/man/sd_journal_print.html)
@ -45,6 +45,6 @@ It is not recommended to use ```print``` and ```perror``` as you may lose ```'\0
C zero-terminated string format (all zero bytes in the middle will be removed) On the contrary ```send``` uses
binary buffers and does not have such shortcoming.
## License
### License
Licensed under the MIT License. See ```LICENSE.txt``` for more info

View File

@ -1,5 +0,0 @@
= journald-logger
Logger that logs directly to systemd-journal
Work in progress, still not usable

View File

@ -19,6 +19,8 @@ Gem::Specification.new do |spec|
spec.extensions << 'ext/journald_native/extconf.rb'
spec.add_dependency 'ruby', '>= 1.9.2'
spec.add_development_dependency 'bundler', '~> 1.6'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rake-compiler'

View File

@ -1,5 +1,5 @@
module Journald
module Native
VERSION = '0.0.1'
VERSION = '1.0.0'
end
end