mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 03:13:44 +01:00
14 lines
285 B
Plaintext
14 lines
285 B
Plaintext
use std 'log debug'
|
|
use std 'log info'
|
|
use std 'log warning'
|
|
use std 'log error'
|
|
use std 'log critical'
|
|
|
|
export def log [] {
|
|
log debug "Debug message"
|
|
log info "Info message"
|
|
log warning "Warning message"
|
|
log error "Error message"
|
|
log critical "Critical message"
|
|
}
|