-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlog.lua
More file actions
98 lines (83 loc) · 3.44 KB
/
log.lua
File metadata and controls
98 lines (83 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
--[[
Script by Tobias00723 ████████
from the TGFB server ████████ ████████
Discord : https://discord.gg/hEHd4A3czx ██████ ██████
any questions? ^^ ████ ▒ ▒ █████
find me on my discord server ^^ ████ ▒▒ ▒▒▒ ███
_________________________________ ████ ▒▒▒ ▒▒▒ ███
███ ▒▒▒▒ ▒▒▒▒ ███
██ ▒▒▒▒ ▒▒▒▒▒ ███
███ ▒▒▒▒▒▒ ▒▒▒▒▒▒ ███
Script as is. ███ ▓▒▒▒▒▒▒ ▒▒▒▒▒▒▒ ███
███ ▒▒▒▒▒▒▒▒ ▓▒▒▒▒▒▒▓ ███
Enjoy The open sauce! ███ ▓▒▒▓▒▒▓▒▓ ▒▒▓▒▒▒▒▒ ███
███ ▓▒▓▓▒▓▓▒▓ ▓▓▒▓▓▓▓▓▓ ███
If used credit, is appreaciated. █ ▓▓▓▒▓ ▓▓▓▒ ▓▓▓▓ ▒▓▒▓▓ █
Happy "borrowing" :) ▓▓▓▓ ▓▓▓ ████ ▓▓▓ ▓▓▓▓
_________________________________ ▓▓▓ ▓▓ ▓▓▓▓ ▓▓ ▓▓▓
▓▓ ▓▓ ▓▓▓▓ ▓▓ ▓▓
▓▓ ▓ ▓▓▓▓ ▓ ▓▓
Copyright (c) 2025 TGFB ▓▓▓▓
All rights reserved. ▓▓▓▓
]]
do
---@meta
--classes
do
end
--No Docu
---@class log
log = {}
---@enum Log_level
log =
{
MESSAGE = 0,
ASYNC = 0,
TIME = 1,
TIME_UTC = 1,
IMMEDIATE = 1,
LEVEL = 2,
ALERT = 2,
MODULE = 4,
THREAD = 8,
ERROR = 8,
WARNING = 16,
INFO = 64,
DEBUG = 128,
TIME_RELATIVE = 128,
TIME_LOCAL = 129,
EXTRA_INFO = 512,
MODELTIME = 512,
ALL = 255,
ALL_LEVELS = 255,
TRACE = 256,
FULL = 271,
NO_HEADER_FOOTER = 16384,
RELIABLE = 32768,
BACKUP = 32768,
}
--Functions
do
--no Docu
function log.alert() end
--no Docu
function log.debug() end
--no Docu
function log.error() end
--no Docu
function log.info() end
--no Docu
function log.set_output() end
--no Docu
function log.set_output_rules() end
--no Docu
function log.warning() end
--no Docu
---@param logger string
---@param level Log_level
---@param msg string
function log.write( logger, level, msg ) end
--no Docu
function log.backup() end
end
end