Skip to content

Commit

Permalink
resolve merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianLars committed Nov 23, 2023
1 parent b400d00 commit 3546d7e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 52 deletions.
24 changes: 0 additions & 24 deletions plugins/log/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ impl Default for Builder {
timezone_strategy: DEFAULT_TIMEZONE_STRATEGY,
max_file_size: DEFAULT_MAX_FILE_SIZE,
targets: DEFAULT_LOG_TARGETS.into(),
log_name: None,
}
}
}
Expand Down Expand Up @@ -377,29 +376,6 @@ impl Builder {
self
}

/// Writes logs to the given file. Default: <app_name>.log)
///
/// Note: This does not modify the directory logs go into. For that refer to `LogTarget::Folder`.
///
/// # Examples
///
/// ```
/// use tauri_plugin_log::Builder;
/// let name = "custom-name";
/// let builder = Builder::default()
/// .targets([
/// LogTarget::LogDir
/// ])
/// .log_name(name)
/// .build()
/// ); // Outputs content to custom-name.log
///
/// ```
pub fn log_name<S: Into<String>>(mut self, log_name: S) -> Self {
self.log_name = Some(log_name.into());
self
}

#[cfg(feature = "colored")]
pub fn with_colors(self, colors: fern::colors::ColoredLevelConfig) -> Self {
let format =
Expand Down
1 change: 0 additions & 1 deletion plugins/websocket/examples/svelte-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@tauri-apps/cli": "2.0.0-alpha.17",
"svelte": "4.2.7",
"svelte-check": "3.6.1",
"tslib": "2.6.2",
"typescript": "5.3.2",
"vite": "5.0.2"
},
Expand Down
9 changes: 0 additions & 9 deletions plugins/websocket/guest-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@ export interface ConnectionConfig {
headers?: HeadersInit;
}

export interface ConnectionConfig {
writeBufferSize?: number;
maxWriteBufferSize?: number;
maxMessageSize?: number;
maxFrameSize?: number;
acceptUnmaskedFrames?: boolean;
headers?: HeadersInit;
}

export interface MessageKind<T, D> {
type: T;
data: D;
Expand Down
5 changes: 1 addition & 4 deletions plugins/window-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
"README.md",
"LICENSE"
],
"devDependencies": {
"tslib": "2.6.2"
},
"dependencies": {
"@tauri-apps/api": "1.5.1"
"@tauri-apps/api": "2.0.0-alpha.11"
}
}
16 changes: 2 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3546d7e

Please sign in to comment.