Skip to content

Commit

Permalink
Merge pull request #469 from tienvx/add-known-log-sink-type
Browse files Browse the repository at this point in the history
docs: Add known log sink type
  • Loading branch information
rholshausen authored Oct 27, 2024
2 parents f5ddf3d + 2b5b0c1 commit 1bccbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/pact_ffi/src/log/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub extern "C" fn pactffi_logger_init() {
/// - `-1`: Can't set logger (applying the logger failed, perhaps because one is applied already).
/// - `-2`: No logger has been initialized (call `pactffi_logger_init` before any other log function).
/// - `-3`: The sink specifier was not UTF-8 encoded.
/// - `-4`: The sink type specified is not a known type (known types: "stdout", "stderr", or "file /some/path").
/// - `-4`: The sink type specified is not a known type (known types: "stdout", "stderr", "buffer", or "file /some/path").
/// - `-5`: No file path was specified in a file-type sink specification.
/// - `-6`: Opening a sink to the specified file path failed (check permissions).
///
Expand Down

0 comments on commit 1bccbc2

Please sign in to comment.