Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wails CLI v2.9.2 The generated wailsjs/runtime package does not contain the LogSetLogLevel(level: number) method. #4014

Open
HU767JH opened this issue Jan 15, 2025 · 0 comments
Labels
Bug Something isn't working

Comments

@HU767JH
Copy link

HU767JH commented Jan 15, 2025

Description

I really like Wails. It's very useful and has helped me a lot. Today, I saw on the Wails official website that I can set the log level of the FileLogger in the front end. However, I couldn't find the LogSetLogLevel(level: number) function in runtime.d.ts. How can I perform LogSetLogLevel(level: number) in the front end?

To Reproduce

I just don't know how to set the log level on the front end

Expected behaviour

I want to set the log level on the front end

Screenshots

No response

Attempted Fixes

No response

System Details

# Wails
Version | v2.9.2

# System
                                                                                                                                                                                                                                                                                                                                                                                 
| Version      | 12.6                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ID           | 21G115                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Go Version   | go1.23.3                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Platform     | darwin                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Architecture | amd64                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| CPU          | Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz                                                                                                                                                                                                                                                                                                                                                                                                          |
| GPU          | Chipset Model: Intel Iris Plus Graphics 645 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel Device ID: 0x3ea6 Revision ID: 0x0001 Metal Family: Supported, Metal GPUFamily macOS 2 Displays: Color LCD: Display Type: Built-In Retina LCD Resolution: 2560 x 1600 Retina Framebuffer Depth: 24-Bit Color (ARGB8888) Main Display: Yes Mirror: Off Online: Yes Automatically Adjust Brightness: Yes Connection Type: Internal   |
| Memory       | 8GB                                                                                                                                                                                                                                                                                                                                                                                                                                               |

# Dependencies
┌────────────────────────────────────────────────────────────────┐
| Dependency                | Package Name | Status    | Version |
| Xcode command line tools  | N/A          | Installed | 2395    |
| Nodejs                    | N/A          | Installed | 20.12.1 |
| npm                       | N/A          | Installed | 10.5.0  |
| *Xcode                    | N/A          | Available |         |
| *upx                      | N/A          | Available |         |
| *nsis                     | N/A          | Available |         |
└─────────────────── * - Optional Dependency ────────────────────┘

# Diagnosis
Optional package(s) installation details: 
  - Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

 SUCCESS  Your system is ready for Wails development!

Additional context

No response

@HU767JH HU767JH added the Bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant