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
//===----------------------------------------------------------------------===// | |
// | |
// NAME : FibonacciGenerator | |
// VERSION : 0.2 | |
// NAMESPACE : Global namespace. | |
// PURPOSE : Provided a way to iterate over the Fibonacci sequence. | |
// COPYRIGHT : (c) 2012 Sean Donnellan. All Rights Reserved. | |
// AUTHORS : Sean Donnellan ([email protected]) | |
// DESCRIPTION : Provided a way to iterate over the Fibonacci sequence. | |
// |
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
// Log debug infomation to terminal | |
void Logger::log(std::string msg, std::string file, int line) | |
{ | |
Mineserver::get()->screen()->log("[" + file + "@" + dtos(line) + "]: " + msg); | |
} | |
// Log messages | |
void Logger::log(LogType type, const std::string& channel, const std::string& message) | |
{ | |
// This should be expanded eventaully to support saving to file and if config option is enabled saving a channel per a file |
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
/* | |
Copyright (c) 2010, The Mineserver Project | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright | |
notice, this list of conditions and the following disclaimer in the |
NewerOlder