This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Public Sub SaveMessageAsMsg() | |
Dim oMail As Outlook.MailItem | |
Dim objItem As Object | |
Dim sPath As String | |
Dim dtDate As Date | |
Dim sName As String | |
Dim sSender As String | |
Dim enviro As String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/app_logger.rb | |
# vim: set ts=2 sw=2 expandtab: | |
class AppLogger < Logger | |
def format_message(severity, timestamp, progname, msg) | |
"#{timestamp.to_formatted_s(:db)} #{severity} #{msg}\n" | |
end | |
end | |
LOGGER = AppLogger.new('log/application.log', 'weekly') |
NewerOlder