forked from emabee/flexi_logger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0.11.2] Change API to more idiomatic parameter types, in a compatibl…
…e way - Logger::directory() and o_directory(), and Logger::create_symlink() and o_create_symlink(): take Into<PathBuf> rather than Into<String> - same for the respective methods of FileLogWriter - implement SyslogWriter (not yet exposed, since hardly tested)
- Loading branch information
Showing
11 changed files
with
469 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ todo | |
tests/logspec.toml | ||
*~ | ||
.*~ | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "flexi_logger" | ||
version = "0.11.1" | ||
version = "0.11.2" | ||
authors = ["emabee <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT/Apache-2.0" | ||
|
@@ -22,19 +22,25 @@ all-features = true | |
[features] | ||
default = [] | ||
specfile = ["serde","toml","notify", "serde_derive"] | ||
syslog_writer = ["libc", "hostname", "procinfo"] | ||
ziplogs = ["zip"] | ||
|
||
[dependencies] | ||
chrono = "0.4" | ||
glob = "0.2" | ||
regex = "1.0" | ||
glob = "0.3" | ||
hostname = {version = "0.1", optional = true} | ||
log = { version = "0.4", features = ["std"] } | ||
serde = { version = "1.0", optional = true } | ||
toml = { version = "0.4", optional = true } | ||
notify = { version = "4.0", optional = true } | ||
regex = "1.1" | ||
serde = { version = "1.0", optional = true } | ||
serde_derive = {version = "1.0", optional = true} | ||
toml = { version = "0.4", optional = true } | ||
zip = {version = "0.5", optional = true} | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
libc = {version = "^0.2.50", optional = true} | ||
procinfo = {version = "0.4", optional = true} | ||
|
||
[dev-dependencies] | ||
serde_derive = "1.0" | ||
version-sync = "0.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.