Finalize frontend of session management
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# module for logging
|
||||
module Logman
|
||||
def self.log(log)
|
||||
File.write("log/main.log", "[#{Time.now}] #{log}\n", mode: "a")
|
||||
file, line = caller(1, 1)[0].split(":")
|
||||
File.write("log/main.log", "[#{Time.now}] {#{file}:#{line}} #{log}\n", mode: "a")
|
||||
end
|
||||
|
||||
def self.imp(log)
|
||||
|
||||
Reference in New Issue
Block a user