Skip to content

Commit 0566b16

Browse files
authored
Merge pull request #48 from getcarv/feature/pub_platformwriter
Feature/pub platformwriter
2 parents 596b92d + bc026f5 commit 0566b16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ impl Config {
256256
}
257257
}
258258

259-
struct PlatformLogWriter<'a> {
259+
pub struct PlatformLogWriter<'a> {
260260
#[cfg(target_os = "android")] priority: LogPriority,
261261
#[cfg(not(target_os = "android"))] priority: Level,
262262
len: usize,
@@ -324,7 +324,7 @@ impl<'a> PlatformLogWriter<'a> {
324324
}
325325

326326
/// Flush everything remaining to android logger.
327-
fn flush(&mut self) {
327+
pub fn flush(&mut self) {
328328
let total_len = self.len;
329329

330330
if total_len == 0 {

0 commit comments

Comments
 (0)