String returns the string representation of the LogLevel
()
| 43 | |
| 44 | // String returns the string representation of the LogLevel |
| 45 | func (l LogLevel) String() string { |
| 46 | switch l { |
| 47 | case TRACE: |
| 48 | return "trace" |
| 49 | case DEBUG: |
| 50 | return "debug" |
| 51 | case INFO: |
| 52 | return "info" |
| 53 | case WARNING: |
| 54 | return "warning" |
| 55 | case ERROR: |
| 56 | return "error" |
| 57 | default: |
| 58 | return "debug" |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | // Logger specifies the methods required to attach |
| 63 | // a logger to a Wails application |
no outgoing calls
no test coverage detected