| /** | |
| * <copyright> | |
| * | |
| * Copyright (c) 2011 itemis and others. | |
| * All rights reserved. This program and the accompanying materials | |
| * are made available under the terms of the Eclipse Public License v1.0 | |
| * which accompanies this distribution, and is available at | |
| * http://www.eclipse.org/legal/epl-v10.html | |
| * | |
| * Contributors: | |
| * itemis - Initial API and implementation | |
| * | |
| * </copyright> | |
| */ | |
| «IMPORT instancemodel» | |
| «EXTENSION org::eclipse::xtend::util::stdlib::io» | |
| «EXTENSION org::eclipse::sphinx::examples::hummingbird::codegen::xpand::extensions::LogUtil» | |
| «DEFINE logUsingStdLibLogFunctions FOR Application» | |
| «info("This is an info level log message")» | |
| «debug("This is a debug level log message")» | |
| «error("This is an error level log message")» | |
| «ENDDEFINE» | |
| «DEFINE logUsingStdLibSysErrFunction FOR Application» | |
| «syserr(this, "This is a dump of 'this' object to System#err")» | |
| «ENDDEFINE» | |
| «DEFINE logUsingCustomLogFunction FOR Application» | |
| «log("This is a custom log message")» | |
| «ENDDEFINE» |