palate 0.3.9

File type detection combining tft and hyperpolyglot
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
import log

fn main(){
    mut l := log.Log{log.INFO, 'terminal'}
    l.info('info')
    l.warn('warn')
    l.error('error')
    l.debug('no debug')
    l.set_level(log.DEBUG)
    l.debug('debug')
    l.fatal('fatal')
}